Skip to content

Commit 1fff63e

Browse files
committed
spack.yaml: Modifying to get into a similar format as the ACCESS-OM2 spack.yaml, using access-om3-virtual bundle
1 parent eec408a commit 1fff63e

File tree

1 file changed

+58
-22
lines changed

1 file changed

+58
-22
lines changed

spack.yaml

Lines changed: 58 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,69 @@
44
# configuration settings.
55
spack:
66
definitions:
7-
- compilers:
8-
7+
# - compilers:
8+
9+
# FIXME: What is to be done with the definitions for 'mpis' and 'serial_packages'
910
- mpis:
1011
1112
- serial_packages:
1213
13-
- packages:
14-
15-
- [email protected] build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert
16-
big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
17-
cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
18-
- [email protected] build_system=cmake build_type=RelWithDebInfo
19-
20-
- [email protected] precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision
21-
build_type=RelWithDebInfo
22-
- access-om3 +install_libraries
14+
# - packages:
15+
16+
# - [email protected] build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert
17+
# big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
18+
# cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
19+
# - [email protected] build_system=cmake build_type=RelWithDebInfo
20+
21+
# - [email protected] precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision
22+
# build_type=RelWithDebInfo
23+
# - access-om3 +install_libraries
2324
specs:
24-
- matrix:
25-
- [$mpis]
26-
- [$%compilers]
27-
- matrix:
28-
- [$packages]
29-
- [$^mpis]
30-
- [$%compilers]
31-
- matrix:
32-
- [$serial_packages]
33-
- [$%compilers]
25+
- [email protected] # FIXME: Add appropriate first version
26+
packages:
27+
access-om3:
28+
require:
29+
- '@git.v0.2.0'
30+
- '+install_libraries'
31+
esmf:
32+
require:
33+
- '@8.5.0'
34+
- '+debug'
35+
parallelio:
36+
require:
37+
- '@2.6.2'
38+
- 'build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert'
39+
- 'big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
40+
- 'cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
41+
netcdf-c:
42+
require:
43+
- '@4.9.2'
44+
- 'build_system=cmake build_type=RelWithDebInfo'
45+
netcdf-fortran:
46+
require:
47+
- '@4.6.1'
48+
fms:
49+
require:
50+
- '@2023.02'
51+
- 'precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision'
52+
- 'build_type=RelWithDebInfo'
53+
openmpi:
54+
require:
55+
- '@4.1.5'
56+
57+
all:
58+
compiler: [[email protected]]
59+
60+
# - matrix:
61+
# - [$mpis]
62+
# - [$%compilers]
63+
# - matrix:
64+
# - [$packages]
65+
# - [$^mpis]
66+
# - [$%compilers]
67+
# - matrix:
68+
# - [$serial_packages]
69+
# - [$%compilers]
3470
view: true
3571
concretizer:
3672
unify: true

0 commit comments

Comments
 (0)