generated from ACCESS-NRI/model-deployment-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spack.yaml
56 lines (54 loc) · 1.87 KB
/
spack.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
specs:
# The root Spack Bundle Recipe (SBR) for the model and overall version of
# the deployment:
# TODO: Replace the MODEL and VERSION.
# - MODEL@git.VERSION
packages:
# Specification of dependency versions and variants. CI/CD requires that
# the first element of the require is only a version:
# TODO: Specify versions and variants of dependencies as required.
# openmpi:
# require:
# - '@4.1.5'
# Specifications that apply to all packages
all:
# TODO: Specify compiler/targets for all packages
# require:
# - '%intel@19.0.5.281'
# - 'target=x86_64'
view: true
concretizer:
unify: true
modules:
default:
tcl:
include:
# TODO: Add MODEL and PACKAGEs that will have a corresponding module
# - MODEL
# - PACKAGE1
# - PACKAGE2
projections:
# These projection VERSIONs must be the same as the
# `spack.packages.*.require[0]` VERSION but without the `@git.` and
# without the RHS of the equals sign, if there is one.
#
# For a MODEL, an example projection is `{name}/2024.10.0`.
# For a PACKAGE where `require` VERSION is
# `@git.2024.04.21=access-esm1.5`, the projection becomes
# `{name}/2024.04.21-{hash:7}`.
# TODO: Add explicit projections for modules that will be found with
# `module load`.
# MODEL: '{name}/VERSION'
# PACKAGE1: '{name}/VERSION1-{hash:7}'
# PACKAGE2: '{name}/VERSION2-{hash:7}'
# config:
# overridden spack configurations, if needed
# mirrors:
# overridden spack package tarball directories, if needed
# repos:
# overridden repo sources, if needed