generated from ACCESS-NRI/model-deployment-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspack.yaml
57 lines (54 loc) · 1.35 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
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
# This is testing of the dev-121-multi-target-workflows branch!!!
spack:
definitions:
- ROOT_PACKAGE:
# Specific case for Gadi - should be run
- when: env['DEPLOYMENT_TARGET'] == 'gadi'
compiler_targets:
- [email protected] target=x86_64
# Default case, shouldn't be used
- when: '"DEPLOYMENT_TARGET" not in env'
compiler_targets:
- [email protected] target=x86_64
- ROOT_SPEC:
- matrix:
- [$ROOT_PACKAGE]
- [$%compiler_targets]
specs:
- $ROOT_SPEC
packages:
oasis3-mct:
require:
- '@git.2023.11.09'
netcdf-c:
require:
- '@4.9.2'
netcdf-fortran:
require:
- '@4.6.1'
openmpi:
require:
- '@4.1.5'
- 'cppflags="-diag-disable=10441"'
# Specifications that apply to all packages - not relevant with multi-target builds
# all:
# require:
# - '%[email protected]'
# - 'target=x86_64'
view: true
concretizer:
unify: true
modules:
default:
tcl:
include:
- access-test
- oasis3-mct
projections:
access-test: '{name}/2025.01.0'
oasis3-mct: '{name}/2023.11.09-{hash:7}'