Skip to content

Commit 458e930

Browse files
committed
Add initial manifest and configuration versions
1 parent b9a55f9 commit 458e930

2 files changed

Lines changed: 21 additions & 62 deletions

File tree

config/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
33
"spack": "0.22",
4-
"spack-packages": "SOME_SPECIFIC_TAG"
4+
"spack-packages": "add-coastri-roms"
55
}

spack.yaml

Lines changed: 20 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -3,78 +3,37 @@
33
# It describes a set of packages to be installed, along with
44
# configuration settings.
55
spack:
6-
# TODO: This section is used primarily to provide variations to a model based on deployment target. Delete if not required.
7-
# definitions:
8-
# This is the root spack bundle that contains the model
9-
# - ROOT_PACKAGE:
10-
# - MODEL@git.GIT_REF=SPACK_VERSION
11-
12-
# Mutually-exclusive Compiler and Target definitions (assumes DEPLOYMENT_TARGET set)
13-
# - when: env['DEPLOYMENT_TARGET'] == 'Gadi'
14-
# compiler_target: ['%intel@19.0.5.281 target=x86_64_v4']
15-
# More mutually-exclusive definitions can be made...
16-
# Default
17-
# - when: "'DEPLOYMENT_TARGET' not in env"
18-
# compiler_targets: ['intel@2021.2.0 target=x86_64']
19-
20-
# This is where the single definitions of ROOT_PACKAGE and compiler/target are
21-
# matrixed together to form a single spec: MODEL@git.GIT_REF=SPACK_VERSION %intel@2021.2.0 target=x86_64
22-
# - ROOT_SPEC:
23-
# - matrix:
24-
# - [$ROOT_PACKAGE]
25-
# - [$%compiler_target]
26-
276
specs:
28-
# The root Spack Bundle Recipe (SBR) for the model and overall version of
29-
# the deployment:
30-
# TODO: Replace the MODEL, GIT_REF and SPACK_VERSION, if there is
31-
# only one deployment target
32-
# - MODEL@git.GIT_REF=SPACK_VERSION
33-
# Alternatively, if there are multiple deployment targets that require
34-
# different compilers/variants, use the above definitions section and:
35-
# - $ROOT_SPEC
7+
- coastri-roms@git.2025.06.000
368
packages:
379
# Specification of dependency versions and variants. CI/CD requires that
38-
# the first element of the require is only a version:
39-
# TODO: Specify versions and variants of dependencies as required.
40-
# openmpi:
41-
# require:
42-
# - '@4.1.5'
10+
# the first element of the require is only a version
11+
roms:
12+
require:
13+
- '@git.c1c5efd8276dfa67029363499ff7370b4582c47b'
14+
15+
openmpi:
16+
require:
17+
- '@4.1.4'
18+
19+
netcdf-c:
20+
require:
21+
- '@4.7.3'
4322

4423
# Specifications that apply to all packages
4524
all:
46-
# TODO: Specify compiler/targets for all packages
47-
# require:
48-
# - '%intel@2021.10.0'
49-
# - 'target=x86_64'
25+
require:
26+
- '%intel@2021.8.0'
27+
- 'target=x86_64'
5028
view: true
5129
concretizer:
5230
unify: true
5331
modules:
5432
default:
5533
tcl:
5634
include:
57-
# TODO: Add MODEL and PACKAGEs that will have a corresponding module
58-
# - MODEL
59-
# - PACKAGE1
60-
# - PACKAGE2
35+
- coastri-roms
36+
- roms
6137
projections:
62-
# These projection GIT_REFs must be the same as the
63-
# `spack.packages.*.require[0]` ref but without the `@git.`
64-
# and without the '=SPACK_VERSION', if there is one.
65-
#
66-
# For a MODEL, an example projection is `{name}/2024.10.0`.
67-
# For a PACKAGE where `require` @git.GIT_REF=SPACK_VERSION is
68-
# `@git.2024.04.21=access-esm1.5`, the projection becomes
69-
# `{name}/2024.04.21-{hash:7}`.
70-
# TODO: Add explicit projections for modules that will be found with
71-
# `module load`.
72-
# MODEL: '{name}/VERSION'
73-
# PACKAGE1: '{name}/VERSION1-{hash:7}'
74-
# PACKAGE2: '{name}/VERSION2-{hash:7}'
75-
# config:
76-
# overridden spack configurations, if needed
77-
# mirrors:
78-
# overridden spack package tarball directories, if needed
79-
# repos:
80-
# overridden repo sources, if needed
38+
coastri-roms: '{name}/2025.06.000'
39+
roms: '{name}/c1c5efd8276dfa67029363499ff7370b4582c47b-{hash:7}'

0 commit comments

Comments
 (0)