diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff48aed..3a4609c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/config/versions.json b/config/versions.json index a6f4b3a..077aaf2 100644 --- a/config/versions.json +++ b/config/versions.json @@ -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" } diff --git a/spack.yaml b/spack.yaml index 48294ae..544dfb8 100644 --- a/spack.yaml +++ b/spack.yaml @@ -8,6 +8,7 @@ spack: # the deployment: # TODO: Replace the MODEL and VERSION. # - MODEL@git.VERSION + - access-esm1p6@git.2024.10.0 packages: # Specification of dependency versions and variants. CI/CD requires that @@ -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: - # - '%intel@19.0.5.281' - # - 'target=x86_64' + require: + - '%intel@19.0.5.281' + - 'target=x86_64' view: true concretizer: unify: true @@ -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 @@ -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