michael-tn/mpi-hello-world:ompi3

$ singularity pull shub://michael-tn/mpi-hello-world:ompi3

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/v3.0/downloads/openmpi-3.0.0.tar.bz2 
    tar -xjf openmpi-3.0.0.tar.bz2
    cd openmpi-3.0.0  
    ./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


View on Datalad

Metrics

key value
id /containers/michael-tn-mpi-hello-world-ompi3
collection name michael-tn/mpi-hello-world
branch master
tag ompi3
commit 1d32048a085a1f3b1b9a82cc2d3db5b69ac43cc2
version (container hash) fcda3bf4b5ae1cc58ce213545fdf4e5a
build date 2017-10-30T00:04:56.565Z
size (MB) 716
size (bytes) 203894815
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.