-
Notifications
You must be signed in to change notification settings - Fork 0
Spack
Harshula Jayasuriya edited this page Sep 15, 2023
·
26 revisions
https://spack.readthedocs.io/en/latest/basic_usage.html#architecture-specifiers
Download the Spack development Dockerfile and then build the dev image by running:
docker build -f Dockerfile.base-spack -t spack-dev:20230915 --target=dev .
A Spack mirror contains the source code for Spack packages. On Gadi, a compute node does not allow Spack to download the source code from the Internet. A Spack mirror allows building Spack packages on a Gadi compute node. More details are available at https://spack.readthedocs.io/en/latest/mirrors.html . Below are instructions on how to create a Spack mirror containing all the source code required to build a particular package.
spack spec PACKAGE_NAME > ./mirror.list
spack mirror create --file ./mirror.list
spack mirror add local_filesystem file://FULLPATH_TO_MIRROR_DIRECTORY
$ spack dependents -t oasis3-mct
access-om2 cice5 libaccessom2 mom5