stephansmit/su2_containers:latest
$ singularity pull shub://stephansmit/su2_containers:latest
Singularity Recipe
Bootstrap: docker
From: ubuntu:16.04
%post
echo "Update apt-get"
apt-get -y update
echo "Install python3 and MPI"
apt-get -y install python3 git build-essential autoconf python-dev libopenmpi-dev openmpi-common openmpi-bin
echo "Install requirements for infiniband on surfsara"
apt-get install -y dkms infiniband-diags libibverbs* ibacm librdmacm* libmlx4* libmlx5* mstflint libibcm.* libibmad.* libibumad* opensm srptools rdmacm-utils ibverbs-utils perftest vlan ibutils
echo "Clone the current master branch of SU2"
git clone --depth=1 https://github.com/su2code/SU2
echo "Install SU2"
cd SU2
autoreconf -i
export CXXFLAGS="-O3"
python3 preconfigure.py --enable-mpi --prefix=$PWD
make install -j 7
echo "Clean all the compiling objects"
make clean
%runscript
exec /SU2/bin/$1 $2
Collection
- Name: stephansmit/su2_containers
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/stephansmit-su2_containers-latest |
collection name | stephansmit/su2_containers |
branch | master |
tag | latest |
commit | c4e2fbfaf6724a0c1c78278a78a88daccf2afc79 |
version (container hash) | a3f902387ddfda1e639ca5bd723209d6 |
build date | 2019-08-12T11:38:47.911Z |
size (MB) | 744.0 |
size (bytes) | 283738143 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.