Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack.yaml: depend on generic tracers Spack components #82

Closed
wants to merge 8 commits into from
2 changes: 1 addition & 1 deletion config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
"spack": "0.22",
"spack-packages": "2024.03.22"
"spack-packages": "development"
}
19 changes: 0 additions & 19 deletions config/versions.schema.json

This file was deleted.

68 changes: 38 additions & 30 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,56 +5,64 @@
spack:
# add package specs to the `specs` list
specs:
- access-om2@git.2024.03.0
- access-om2@git.2024.10.0
packages:
cice5:
require: '@git.2023.10.19'
require:
- '@git.2023.10.19'
mom5:
require: '@git.2023.11.09'
require:
# FIXME: This would need to be changed to a stable version before release
- '@git.dev_2024.08.14'
libaccessom2:
require: '@git.2023.10.26'
require:
- '@git.2023.10.26'
oasis3-mct:
require: '@git.2023.11.09'
require:
- '@git.2023.11.09'
netcdf-c:
require: '@4.7.4'
require:
- '@4.7.4'
netcdf-fortran:
require: '@4.5.2'
require:
- '@4.5.2'
parallelio:
require: '@2.5.2'
require:
- '@2.5.2'
openmpi:
require: '@4.0.2'
require:
- '@4.0.2'
access-fms:
require:
# FIXME: This would need to be changed to a stable version before release
- '@development'
access-generic-tracers:
require:
# FIXME: This would need to be changed to a stable version before release.
- '@development'
access-mocsy:
require:
- '@mom5'
# Specifications that apply to all packages
all:
compiler: [intel@19.0.5.281]
require:
- '%intel@19.0.5.281'
- 'target=x86_64'
view: true
concretizer:
unify: true
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../release/modules
lmod: $spack/../release/lmod
tcl:
hash_length: 0
include:
- access-om2
- mom5
- cice5
- libaccessom2
- oasis3-mct
exclude_implicits: true
all:
autoload: run
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
access-om2: '{name}/2024.03.0'
cice5: '{name}/2023.10.19'
mom5: '{name}/2023.11.09'
libaccessom2: '{name}/2023.10.26'
oasis3-mct: '{name}/2023.11.09'
access-om2: '{name}/2024.10.0'
cice5: '{name}/2023.10.19-{hash:7}'
mom5: '{name}/dev_2024.08.14-{hash:7}'
libaccessom2: '{name}/2023.10.26-{hash:7}'
oasis3-mct: '{name}/2023.11.09-{hash:7}'
Loading