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

re-branch. modify using update 3 spack.yaml #9

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: access-nri/build-cd/.github/workflows/ci.yml@main
with:
model: ${{ vars.NAME }}
# root-sbd: if different from vars.NAME
root-sbd: access-esm1p6
permissions:
pull-requests: write
contents: write
Expand All @@ -36,7 +36,7 @@ jobs:
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@main
with:
model: ${{ vars.NAME }}
# root-sbd: if different from vars.NAME
root-sbd: access-esm1p6
permissions:
pull-requests: write
contents: write
Expand Down
4 changes: 2 additions & 2 deletions 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",
"$schema": "https://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/2-0-0.json",
"spack": "0.22",
"spack-packages": "SOME_SPECIFIC_TAG"
"spack-packages": "development"
}
53 changes: 50 additions & 3 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spack:
# the deployment:
# TODO: Replace the MODEL and VERSION.
# - [email protected]
- [email protected]

packages:
# Specification of dependency versions and variants. CI/CD requires that
Expand All @@ -16,13 +17,44 @@ spack:
# openmpi:
# require:
# - '@4.1.5'
mom5:
require:
- '@git.development=access-esm1.6'
cice4:
require:
- '@git.2024.05.21=access-esm1.5'
# @d09ee72..bca0757
um7:
require:
- '@git.18-esm15-cable3=access-esm1.5'
# Lower-level ACCESS-NRI dependencies
gcom4:
require:
- '@git.2024.05.28=access-esm1.5'
oasis3-mct:
require:
- '@git.access-esm1.5_2024.05.24=access-esm1.5'
# Other dependencies
openmpi:
require:
- '@4.0.2'
netcdf-c:
require:
- '@4.7.4'
netcdf-fortran:
require:
- '@4.5.2'
hdf5:
require:
- '@1.10.11'


# Specifications that apply to all packages
all:
# TODO: Specify compiler/targets for all packages
# require:
# - '%[email protected]'
# - 'target=x86_64'
require:
- '%[email protected]'
- 'target=x86_64'
view: true
concretizer:
unify: true
Expand All @@ -34,6 +66,10 @@ spack:
# - MODEL
# - PACKAGE1
# - PACKAGE2
- access-esm1p6
- cice4
- um7
- mom5
projections:
# These projection VERSIONs must be the same as the
# `spack.packages.*.require[0]` VERSION but without the `@git.` and
Expand All @@ -54,3 +90,14 @@ spack:
# overridden spack package tarball directories, if needed
# repos:
# overridden repo sources, if needed
all: '{name}/{version}'
access-esm1p6: '{name}/2024.10.0'
cice4: '{name}/2024.05.21'
um7: '{name}/18-esm15-cable3'
mom5: '{name}/development'
config:
install_tree:
root: $spack/../restricted/ukmo/release
source_cache: $spack/../restricted/ukmo/source_cache
build_stage:
- $TMPDIR/restricted/spack-stage
Loading