55spack :
66 # TODO: This section is used primarily to provide variations to a model based on deployment target. Delete if not required.
77 # definitions:
8- # This is the root spack bundle that contains the model
9- # - ROOT_PACKAGE:
10- # - MODEL@git.GIT_REF=SPACK_VERSION
8+ # This is the root spack bundle that contains the model
9+ # - ROOT_PACKAGE:
10+ # - MODEL@git.GIT_REF=SPACK_VERSION
1111
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]
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']
2619
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]
2726 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
27+ # The root Spack Bundle Recipe (SBR) for the model and overall version of
28+ # the deployment:
29+ # TODO: Replace the MODEL, GIT_REF and SPACK_VERSION, if there is
30+ # only one deployment target
31+ # - MODEL@git.GIT_REF=SPACK_VERSION
32+ # Alternatively, if there are multiple deployment targets that require
33+ # different compilers/variants, use the above definitions section and:
34+ # - $ROOT_SPEC
3635 packages :
3736 # Specification of dependency versions and variants. CI/CD requires that
3837 # the first element of the require is only a version:
@@ -43,38 +42,10 @@ spack:
4342
4443 # Specifications that apply to all packages
4544 all :
46- # TODO: Specify compiler/targets for all packages
47- # require:
48- # - '%intel@2021.10.0'
49- # - 'target=x86_64'
45+ # TODO: Specify compiler/targets for all packages
46+ # require:
47+ # - '%intel@2021.10.0'
48+ # - 'target=x86_64'
5049 view : true
5150 concretizer :
5251 unify : true
53- modules :
54- default :
55- tcl :
56- include :
57- # TODO: Add MODEL and PACKAGEs that will have a corresponding module
58- # - MODEL
59- # - PACKAGE1
60- # - PACKAGE2
61- 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
0 commit comments