This repository contains:
-
Spack configuration files required by the Spack instance(s) maintained by ACCESS-NRI on Gadi and ACCESS-NRI's CI Docker image.
- The
cidirectory is to be used by the CI Docker image. - The
gadidirectory is to be used in Gadi deployments. - The
commondirectory is a subset of required configuration files and should not be used directly.
- The
-
spack-enable.bashis for general users to set theirbashenvironment to directly runspackcommands using ACCESS-NRI's Spack instance(s). Execute:. spack-enable.bash. It disables local configuration changes in~/.spack. Advanced users should use the methods described in the Spack documentation, including setting$SPACK_INSTALL_TREEto a writeable directory.
ln -s -r -v <SPACK_VERSION>/<SPACK_TARGET>/* <SPACK_ROOT>/etc/spack/
Where,
- <SPACK_VERSION> is the spack major version. e.g.
v0.20. - <SPACK_TARGET> is
ciorgadi. - <SPACK_ROOT> is the root directory of the Spack instance.