Last active
April 23, 2021 13:09
-
-
Save icaoberg/65118b1b27146a809e8165b55141a4f8 to your computer and use it in GitHub Desktop.
Basic Spack+Singularity recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bootstrap: docker | |
From: spack/ubuntu-bionic | |
%labels | |
MAINTAINER icaoberg | |
EMAIL icaoberg@psc.edu | |
WEBSITE http://github.com/icaoberg/singularity-<PACKAGE-NAME> | |
COPYRIGHT Copyright © 2021 Pittsburgh Supercomputing Center. All Rights Reserved. | |
VERSION <PACKAGE-VERSION> | |
%environment | |
export PATH=/opt/spack/bin/:$PATH | |
source /etc/profile.d/modules.sh | |
source /opt/spack/share/spack/setup-env.sh | |
spack load gromacs | |
%post | |
export PATH=/opt/spack/bin/:$PATH | |
apt-get update | |
#Insert Spack commands below | |
spack install <PACKAGE-NAME> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment