Skip to content

ACCESS-NRI/spack-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spack Config

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.
  • spack-enable.bash is for general users to set their bash environment to directly run spack 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.

Usage

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 or gadi.
  • <SPACK_ROOT> is the root directory of the Spack instance.

References