powerPlant/gromacs-srf:2018.2

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

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

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install cmake gcc g++
  
  ## Build gromacs 
  cd /tmp
  tar -xzf gromacs-2018.2.tar.gz
  cd gromacs-2018.2
  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.2
collection name powerPlant/gromacs-srf
branch master
tag 2018.2
commit f2951e2a20a5f090fff26f30a7a77b2f737f0191
version (container hash) 107a1b8c092e0c2d40c16eb7cef22e7c
build date 2019-02-01T14:00:56.095Z
size (MB) 139
size (bytes) 62046239
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.