powerPlant/gromacs-srf:2019.5

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

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

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install cmake gcc g++
  
  ## Build gromacs 
  cd /tmp
  tar -xzf gromacs-2019.5.tar.gz
  cd gromacs-2019.5
  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-2019.5
collection name powerPlant/gromacs-srf
branch master
tag 2019.5
commit d538c597e9e4ece112af14be23676593da265786
version (container hash) e5b386e6beb5a6f63bc64eea18309bc5f2e78077b5f482dde38b3e4dc63485d1
build date 2020-06-09T05:18:49.316Z
size (MB) 60.54296875
size (bytes) 63483904
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.