Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack.yaml Environment Configuration #5

Merged
merged 30 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1c3a005
spack.yml: Modifying existing spack.yaml to use virtual package
CodeGat Apr 12, 2024
d0cfa71
spack.yaml: Merged some of the sections into one line
CodeGat Apr 15, 2024
9c0b02d
spack.yaml: Updated spack.modules to be in line with access-om2-style…
CodeGat Apr 15, 2024
453f421
spack.yaml: Compiler updated to original 2021.10.0
CodeGat Apr 15, 2024
7653878
spack.yaml: Removed comments, updated projections, moved last of the …
CodeGat Apr 15, 2024
6478ae3
Modified spack.yaml to be in line with the original 0.2.0 spack.yaml
CodeGat Apr 18, 2024
a69885f
spack.yaml: Uses 0.x.0 spack.yaml as a base, and uses new variants field
CodeGat Apr 18, 2024
bcab735
versions.json: Updated spack-packages to 2024.04.19
CodeGat Apr 18, 2024
672d48f
spack.yaml: quoted version of parallelio
CodeGat Apr 18, 2024
0ecf825
spack.yaml: Added valid compiler field
CodeGat Apr 18, 2024
3ba8b83
spack.yaml: Now requires variants rather than prefers
CodeGat Apr 19, 2024
969a922
versions.json: Updated spack-packages to 2024.04.20
CodeGat Apr 21, 2024
a4d4332
versions.json: Deploying using the development version of spack-config
CodeGat Apr 22, 2024
e352bd0
versions.json: Updated spack config to 2024.04.22
CodeGat Apr 22, 2024
40d1086
versions.json: Updated spack-config to 2024.04.23 (added openmpi 4.x …
CodeGat Apr 23, 2024
ecb416c
spack.yaml: Removed variants and compiler flags to https://github.com…
CodeGat May 2, 2024
60a163f
versions.json: Updated spack-packages to https://github.com/ACCESS-NR…
CodeGat May 3, 2024
ceac574
spack.yaml: Renamed exclude_implicits to hide_implicits
CodeGat May 6, 2024
0ebbbac
spack.yaml: Added spack.packages.all.target: x86_64
CodeGat May 6, 2024
f48963a
config: versions.json now conforms to the 2-0-0 schema, deleted local…
CodeGat May 24, 2024
01726c2
versions.json: Update spack to 0.22, bulk update of spack-packages, s…
CodeGat Jul 8, 2024
f1b9ec5
spack.yaml: exclude_implicits, compiler/target requirement
CodeGat Jul 8, 2024
d5c546b
spack.yaml: Remove -fp-model precise
CodeGat Jul 8, 2024
e6ae976
spack.yaml: Added comments, deploying with latest version of spack
CodeGat Jul 18, 2024
4ee6f99
Update compiler to [email protected]
dougiesquire Aug 22, 2024
26947ae
Update spack.yaml
anton-seaice Sep 20, 2024
bb1496d
Update spack.yaml
anton-seaice Sep 20, 2024
ca8fd71
update to OM3 latest source
anton-seaice Sep 22, 2024
ce472bb
Update spack.yaml
anton-seaice Sep 22, 2024
0672015
Added quotes to target
CodeGat Sep 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "./versions.schema.json",
"spack-packages": "2024.03.22",
"spack-config": "2024.03.22"
}
"$schema": "http://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/2-0-0.json",
"spack": "0.22",
"spack-packages": "2024.07.08",
"spack-config": "2024.07.05"
}
19 changes: 0 additions & 19 deletions config/versions.schema.json

This file was deleted.

84 changes: 55 additions & 29 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,66 @@
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
definitions:
- compilers:
- [email protected]
- mpis:
- [email protected]
- serial_packages:
- [email protected]
- packages:
- [email protected]+debug
- [email protected] build_type=RelWithDebInfo fflags='-qno-opt-dynamic-align -convert
big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source'
cflags='-qno-opt-dynamic-align -fp-model precise -std=gnu99'
- [email protected] build_system=cmake build_type=RelWithDebInfo
- [email protected]
- [email protected] precision=64 +large_file +deprecated_io ~gfs_phys ~openmp ~quad_precision
build_type=RelWithDebInfo
- access-om3 +install_libraries
specs:
- matrix:
- [$mpis]
- [$%compilers]
- matrix:
- [$packages]
- [$^mpis]
- [$%compilers]
- matrix:
- [$serial_packages]
- [$%compilers]
- [email protected]
packages:
# Main Dependencies
access-om3-nuopc:
require:
- '@git.0.3.1'

# Other Dependencies
esmf:
require:
- '@8.5.0'
parallelio:
require:
- '@2.6.2'
netcdf-c:
require:
- '@4.9.2'
- build_system=cmake build_type=RelWithDebInfo
anton-seaice marked this conversation as resolved.
Show resolved Hide resolved
netcdf-fortran:
require:
- '@4.6.1'
fms:
require:
- '@2023.02'
openmpi:
require:
- '@4.1.5'
fortranxml:
require:
- '@4.1.2'

all:
require:
- '%[email protected]'
- target=x86_64
anton-seaice marked this conversation as resolved.
Show resolved Hide resolved
harshula marked this conversation as resolved.
Show resolved Hide resolved
view: true
concretizer:
unify: true
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../modules/access-om3/0.x.0
tcl: $spack/../release/modules
lmod: $spack/../release/lmod
tcl:
naming_scheme: '{name}/{version}'
hash_length: 0
include:
- access-om3
- access-om3-nuopc
exclude_implicits: true
all:
autoload: direct
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
access-om3: '{name}/2024.09.0'
access-om3-nuopc: '{name}/0.3.1'
Loading