Storage for package.yaml files for various systems.
- If you are on a cluster (not your personal machine):
- Create a
~/.profilefile if does not exist already - Add the line
export SPACK_USER_CONFIG_PATH=$HOME/.spack/$CLUSTER. This tells Spack to look forpackage.yamlfiles in~/.spack/[system_name]
- Create a
- Navigate to
~/.spack/[system_name]/packages.yaml. (Possible system names: tuolumne, tioga, hopper, dane) If thepackages.yamlfile does not exist, create the file. - Copy the contents of the appropriate
packages.yamlfile in this repository into thepackages.yamlon the system you are using. - Use Spack normally. Spack will now find packages already installed on the system and prefer those over installing duplicate libraries.