powerPlant/open-mpi-srf:4.0.2

$ singularity pull shub://powerPlant/open-mpi-srf:4.0.2

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

%help
This container provides Open MPI and is meant to be used as a build base for other containers that require it

%labels
Maintainer eric.burgueno@plantandfood.co.nz
Version 4.0.2

%environment
  export OMPI_DIR=/usr/local
  export SINGULARITY_OMPI_DIR=$OMPI_DIR
  export SINGULARITYENV_APPEND_PATH=$OMPI_DIR/bin
  export SINGULAIRTYENV_APPEND_LD_LIBRARY_PATH=$OMPI_DIR/lib

%post
  ## Download prerequisites
  apt-get update
  apt-get -y install g++ make wget
  
  ## OpenMPI
  cd /opt
  export OMPI_VERSION=4.0.2
  export OMPI_URL="https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-$OMPI_VERSION.tar.bz2"

  wget -O openmpi-$OMPI_VERSION.tar.bz2 $OMPI_URL
  tar -xjf openmpi-$OMPI_VERSION.tar.bz2
  cd openmpi-$OMPI_VERSION
  ./configure
  make -j`nproc` install
  ldconfig

  ## Cleanup
  apt-get -y remove g++ make wget
  apt-get -y autoremove
  rm -rf /opt/*

Collection


View on Datalad

Metrics

key value
id /containers/powerPlant-open-mpi-srf-4.0.2
collection name powerPlant/open-mpi-srf
branch master
tag 4.0.2
commit 2fb7561abd1037d313fa8c9ab50412caadcb9f6a
version (container hash) bfc4f63017df240ca3bd39df01df483b1b429310db20faeb05790dbe4fe4bd07
build date 2019-11-22T23:32:42.276Z
size (MB) 50.5
size (bytes) 52953088
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.