generated from ACCESS-NRI/model-deployment-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspack.yaml
78 lines (71 loc) · 1.55 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
specs:
- access-ram3@git.2024.08.0
packages:
# Direct dependencies
um:
require:
- '@13.0'
# Indirect dependencies
eccodes:
require:
- '@2.34.0'
netcdf-c:
require:
- '@4.9.2'
netcdf-fortran:
require:
- '@4.5.2'
fcm:
require:
- '@2021.05.0'
# TODO: Generalize this Gadi-specific variant for spack.yaml
- 'site=nci-gadi'
gcom:
require:
- '@7.8'
openmpi:
require:
- '@4.1.5'
# Specifications that apply to all packages
all:
require:
- '%intel@19.0.3.199'
- target=x86_64_v4
view: true
concretizer:
unify: true
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../release/modules
lmod: $spack/../release/lmod
tcl:
hash_length: 0
include:
- access-ram3
- um
exclude_implicits: true
all:
autoload: direct
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
access-ram3: '{name}/2024.08.0'
um: '{name}/13.0'
config:
install_tree:
root: $spack/../restricted/ukmo/release
source_cache: $spack/../restricted/ukmo/source_cache
build_stage:
- $TMPDIR/restricted/spack-stage