michael-tn/mpi-hello-world:1.2/singularity.ompi212
$ singularity pull shub://michael-tn/mpi-hello-world:1.2/singularity.ompi212
Singularity Recipe
BootStrap: docker
From: ubuntu:latest
%post
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# this will install all necessary packages and prepare the container
apt-get -y update
apt-get -y install make build-essential zlib1g-dev libncurses5-dev wget git
echo "Get and Build openmpi"
cd /usr/local/src
wget https://www.open-mpi.org/software/ompi/v2.1/downloads/openmpi-2.1.2.tar.bz2
tar -xjf openmpi-2.1.2.tar.bz2
cd openmpi-2.1.2
./configure --prefix=/usr/local --with-hwloc
make -j4
make install
ldconfig
echo "Get and Build mpi_hello_world"
mkdir /usr/local/src/git
cd /usr/local/src/git
git clone https://github.com/wesleykendall/mpitutorial
cd mpitutorial/tutorials/mpi-hello-world/code
make
cp mpi_hello_world /usr/local/bin
Collection
- Name: michael-tn/mpi-hello-world
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/michael-tn-mpi-hello-world-1.2-singularity.ompi212 |
collection name | michael-tn/mpi-hello-world |
branch | master |
tag | 1.2/singularity.ompi212 |
commit | 7f9c97a5f8c8597df3065cc9ad3c87770aaef9ea |
version (container hash) | 885f99169e148dd83668546775f44e7b |
build date | 2017-10-20T18:53:21.553Z |
size (MB) | 686 |
size (bytes) | 197201951 |
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.