powerPlant/gromacs-srf:2018.4

$ singularity pull shub://powerPlant/gromacs-srf:2018.4

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

%setup
  wget -q -O ${SINGULARITY_ROOTFS}/tmp/gromacs-2018.4.tar.gz ftp://ftp.gromacs.org/pub/gromacs/gromacs-2018.4.tar.gz

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install cmake gcc g++
  
  ## Build gromacs 
  cd /tmp
  tar -xzf gromacs-2018.4.tar.gz
  cd gromacs-2018.4
  mkdir build
  cd build
  cmake .. -DGMX_BUILD_OWN_FFTW=ON
  make -j 4
  make install
  
  ## Cleanup
  cd /tmp
  rm -rf /tmp/gromacs*
  apt-get -y remove --purge cmake gcc g++
  apt-get -y clean all
  apt-get -y autoremove --purge

  ## Reinstall libogmp
  apt-get -y install libgomp1

%runscript
  . /usr/local/gromacs/bin/GMXRC.bash
  gmx "$@"

Collection


View on Datalad

Metrics

key value
id /containers/powerPlant-gromacs-srf-2018.4
collection name powerPlant/gromacs-srf
branch master
tag 2018.4
commit 015899b193a56cc479c973e589c6a16e14354e46
version (container hash) 6df71697a09921682e88ca8c0745eacd
build date 2019-02-01T14:00:56.083Z
size (MB) 139
size (bytes) 62050335
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.