powerPlant/gromacs-srf:latest

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

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

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install cmake gcc g++
  
  ## Build gromacs 
  cd /tmp
  tar -xzf gromacs-2019.tar.gz
  cd gromacs-2019
  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-latest
collection name powerPlant/gromacs-srf
branch master
tag latest
commit d538c597e9e4ece112af14be23676593da265786
version (container hash) 32264035c1e3d86bee7a79ed9d28296c
build date 2020-11-26T14:34:04.680Z
size (MB) 140
size (bytes) 62357535
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.