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
7dbff8b3
Commit
7dbff8b3
authored
Dec 11, 2017
by
Andreas Gocht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inital recepies
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
185 additions
and
0 deletions
+185
-0
debian.def
debian.def
+95
-0
ubuntu.def
ubuntu.def
+90
-0
No files found.
debian.def
0 → 100644
View file @
7dbff8b3
Bootstrap: docker
From: debian:testing
%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 subversion
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 autotools-dev automake autoconf
apt-get -y install gcc-7-plugin-dev
apt-get -y install flex bison
cd /apps
svn co --username scorep --password foo42bar https://silc.zih.tu-dresden.de/svn/hooks-root/afs-dev/tags/REL-05/
cd REL-05/
./install-scorep-dev.05.sh --prefix=/usr/local
export PATH=/usr/local/bin:$PATH
cd /apps
svn co --username scorep --password foo42bar https://silc.zih.tu-dresden.de/svn/silc-root/trunk scorep
cd scorep
./bootstrap
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 mpi2
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' ..
make -j 4
make install
ubuntu.def
0 → 100644
View file @
7dbff8b3
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