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
ci
directory is to be used by the CI Docker image. - The
gadi
directory is to be used in Gadi deployments. - The
common
directory is a subset of required configuration files and should not be used directly.
- The
-
spack-enable.bash
is for general users to set theirbash
environment to directly runspack
commands 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_TREE
to 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
ci
orgadi
. - <SPACK_ROOT> is the root directory of the Spack instance.