cb-geo/lammps-container:cfg

$ singularity pull shub://cb-geo/lammps-container:cfg

Singularity Recipe

BootStrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/$basearch/
Include: yum

%setup
  cd $SINGULARITY_ROOTFS/opt
  wget http://lammps.sandia.gov/tars/lammps-stable.tar.gz

%post
  yum -y groupinstall "Development Tools"

  mkdir -p /opt/lammps
  cd /opt/lammps
  tar xf ../lammps-stable.tar.gz --strip-components 1

  cd src
  make yes-granular |& tee log.make_yes_granular
  make -j serial |& tee log.make_serial

%runscript
  /opt/lammps/src/lmp_serial "$@"

Collection


View on Datalad

Metrics

key value
id /containers/cb-geo-lammps-container-cfg
collection name cb-geo/lammps-container
branch master
tag cfg
commit c5b476f4efffabbe1e9222022cf5f121956aadd3
version (container hash) fe2db2b0684dade03ce01f41372de431
build date 2017-11-08T16:12:34.174Z
size (MB) 1269
size (bytes) 485920799
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.