|
3 | 3 | # It describes a set of packages to be installed, along with |
4 | 4 | # configuration settings. |
5 | 5 | 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 | | - |
27 | 6 | 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 |
36 | 8 | packages: |
37 | 9 | # 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' |
43 | 22 |
|
44 | 23 | # Specifications that apply to all packages |
45 | 24 | 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' |
50 | 28 | view: true |
51 | 29 | concretizer: |
52 | 30 | unify: true |
53 | 31 | modules: |
54 | 32 | default: |
55 | 33 | tcl: |
56 | 34 | include: |
57 | | - # TODO: Add MODEL and PACKAGEs that will have a corresponding module |
58 | | - # - MODEL |
59 | | - # - PACKAGE1 |
60 | | - # - PACKAGE2 |
| 35 | + - coastri-roms |
| 36 | + - roms |
61 | 37 | 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