Commit 279dbf1c authored by Andreas Gocht's avatar Andreas Gocht

another try

parent a2442dbf
......@@ -6,7 +6,7 @@ From: debian:testing
%files
mca-btl-openib-device-params.ini /usr/share/openmpi/
mca-btl-openib-device-params.ini /tmp/
%post
echo "Hello from inside the container"
......@@ -16,7 +16,7 @@ From: debian:testing
apt-get -y install vim
# build environment
apt-get -y install wget curl build-essential make g++ gfortran openmpi-bin openmpi-common git subversion cmake python python3
apt-get -y install wget curl build-essential make g++ gfortran openmpi-bin openmpi-common git subversion cmake python python3 python-pip python3-pip
# infiniband
apt-get -y install libibverbs1
#apt-get -y install libmlx4-1 libmlx5-1
......@@ -31,7 +31,7 @@ From: debian:testing
# ln -sf /extern/lib64/libmlx4-rdmav2.so /usr/local/lib/libmlx4-rdmav2.so
# ln -sf /extern/lib64/libmlx5-rdmav2.so /usr/local/lib/libmlx5-rdmav2.so
mv /tmp/mca-btl-openib-device-params.ini /usr/share/openmpi/
if [ ! -d /apps ]; then
......@@ -40,6 +40,8 @@ From: debian:testing
mkdir /sw
mkdir /projects
fi
###################################
# install scorep
###################################
......@@ -50,6 +52,7 @@ From: debian:testing
apt-get -y install flex bison
cd /apps
if [ ! -d scorep ]; then
svn co --username scorep --password foo42bar https://silc.zih.tu-dresden.de/svn/hooks-root/afs-dev/tags/REL-05/
cd REL-05/
......@@ -79,6 +82,8 @@ From: debian:testing
make -j 4
make install
fi
###################################
# scorep python tracing
###################################
......@@ -87,21 +92,30 @@ From: debian:testing
apt-get -y install python3-dev
cd /apps
if [ ! -d scorep_binding_python ]; then
git clone https://github.com/score-p/scorep_binding_python
cd scorep_binding_python
python setup.py install
python3 setup.py install
fi
###################################
# espressopp
###################################
apt-get -y install libfftw3-dev
apt-get -y install python-mpi4py
#apt-get -y autoremove --purge python-mpi4py
pip install 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
if [ ! -d espressopp ]; then
git clone https://github.com/espressopp/espressopp.git
cd espressopp
mkdir build
......@@ -109,6 +123,7 @@ From: debian:testing
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
fi
# srun -p interactive -N 1 -n 2 singularity exec --bind /etc/libibverbs.d/:/etc/libibverbs.d/ --bind /usr:/extern debian.img /scratch/gocht/container/run
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment