powerPlant/gromacs-srf:2018.1

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

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

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