Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
container_recepies
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MLC
container_recepies
Commits
f72d01d8
Commit
f72d01d8
authored
Jan 02, 2018
by
Andreas Gocht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete ubuntu as it doesn't work (openmpi to low)
parent
279dbf1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
90 deletions
+0
-90
ubuntu.def
ubuntu.def
+0
-90
No files found.
ubuntu.def
deleted
100644 → 0
View file @
279dbf1c
Bootstrap: docker
From: ubuntu:16.04
%runscript
echo "This is what happens when you run the container..."
%post
echo "Hello from inside the container"
#sed -i 's/$/ universe/' /etc/apt/sources.list
apt-get update
apt-get dist-upgrade -y
apt-get -y install vim
# build environment
apt-get -y install wget curl
apt-get -y install build-essential make g++ gfortran
apt-get -y install openmpi-bin
apt-get -y install openmpi-common
apt-get -y install git
apt-get -y install cmake
apt-get -y install python
gcc --version
mkdir /apps
###################################
# install scorep
###################################
# scorep requirements
apt-get -y install libopenmpi-dev zlib1g-dev
apt-get -y install gcc-5-plugin-dev
cd /apps
[ ! -f scorep-3.1.tar.gz ] && wget http://www.vi-hps.org/upload/packages/scorep/scorep-3.1.tar.gz
tar -xf scorep-3.1.tar.gz
cd scorep-3.1
[ -d build ] && rm -rf build
mkdir build
cd build
../configure '--prefix=/usr/' \
'--with-libbfd=no' \
'--with-libhdf5=no'\
'--with-nocross-compiler-suite=gcc' \
'--with-mpi=openmpi' \
'--without-gui' \
'--disable-silent-rules' \
'--enable-backend-test-runs' \
'--enable-static=no' \
'--enable-shared=yes' \
'--enable-debug' \
'CFLAGS=-g' \
'CXXFLAGS=-g'
make -j 4
make install
###################################
# scorep python tracing
###################################
apt-get -y install python-dev
cd /apps
git clone https://github.com/score-p/scorep_binding_python
cd scorep_binding_python
git checkout binutils_2.26.1
python setup.py install
###################################
# espressopp
###################################
apt-get -y install libfftw3-dev
apt-get -y install python-mpi4py
apt-get -y install libboost-dev libboost-mpi-dev libboost-python-dev libboost-serialization-dev libboost-system-dev libboost-filesystem-dev
apt-get -y install python-numpy
cd /apps
git clone https://github.com/espressopp/espressopp.git
cd espressopp
mkdir build
cd build
SCOREP_WRAPPER=off cmake -DEXTERNAL_BOOST=ON -DEXTERNAL_MPI4PY=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER='scorep-mpicxx' -DCMAKE_Fortran_COMPILER='scorep-mpif90' -DCMAKE_C_COMPILER='scorep-mpicc' ..
export SCOREP_WRAPPER_COMPILER_FLAGS='-Wl,-no-as-needed'
make -j 4
make install
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment