powerPlant/gromacs-srf:2019.3

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

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

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install cmake gcc g++
  
  ## Build gromacs 
  cd /tmp
  tar -xzf gromacs-2019.3.tar.gz
  cd gromacs-2019.3
  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.3
collection name powerPlant/gromacs-srf
branch master
tag 2019.3
commit d538c597e9e4ece112af14be23676593da265786
version (container hash) 37078e6d41f3f22cabf0e73e8893dc7ff92b15f61ae693801c8eda320174e1fe
build date 2020-06-09T04:17:48.430Z
size (MB) 60.5390625
size (bytes) 63479808
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.