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

Add initial spack.yaml and config #5

Merged
merged 36 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6094d2f
Added initial spack.yaml and config
CodeGat May 22, 2024
bc0ccb2
Deleted versions.schema.json, added $schema property
CodeGat May 22, 2024
be0fd7a
spack.yaml: Changed `spack.config.source_cache` to a string rather th…
CodeGat May 22, 2024
800889b
Changed spack-packages to 2024.05.21 and intel compiler to [email protected]
CodeGat May 22, 2024
aee1828
Added newline
CodeGat May 22, 2024
c34af47
Reformatting spack.yaml
CodeGat May 22, 2024
eb5784b
spack.yaml: Updated gcom4 to 2024.05.22 (HEAD of dev branch rather th…
CodeGat May 22, 2024
7fe337a
spack.yaml: Added extra comments around the use of branches
CodeGat May 22, 2024
b44e4cd
spack.yaml: Explicitly include cice4, um7, mom5
CodeGat May 22, 2024
e620509
spack.yaml: Added associated projections for cice4, um7, mom5, git at…
CodeGat May 22, 2024
ced3a9a
spack.yaml: Removed git attributes on mom5, oasis3-mct
CodeGat May 22, 2024
eca8de6
spack.yaml: Updating the version of the overall model to 2024.05.1
CodeGat May 24, 2024
5c700e8
Changed to '@git.TAG=VERSION' syntax in spack.yaml, updated spack-pac…
CodeGat May 28, 2024
b5f5a20
Modified overall version of package to `2024.05.0`
CodeGat May 28, 2024
d438300
spack.yaml: Updated GCOM4 to 2024.05.28
CodeGat May 28, 2024
5dd1749
spack.yaml: Changed require versions back to branch
CodeGat May 28, 2024
7908d22
spack.yaml: Modified the other requirements to use the @git.TAG=VERSI…
CodeGat Jun 3, 2024
1b8c9a2
spack.yaml: Constrained netcdf-*, hdf5 versions
CodeGat Jun 12, 2024
b73ab47
spack.yaml: Updated netcdf-fortran to @4.6.1
CodeGat Jun 12, 2024
34ed057
spack.yaml: Updating dependencies to be in line with https://github.c…
CodeGat Jun 24, 2024
fbf2037
Updated spack-packages/config, put spack.yaml versions in line with r…
CodeGat Jul 2, 2024
4523f6c
spack.yaml: Update netcdf-fortran to 4.5.2
CodeGat Jul 2, 2024
8df2b74
spack.yaml: put um7 on access-esm1.5 branch, tagged new mom5 commit
CodeGat Jul 2, 2024
9658103
spack.yaml: Update modulefile version in line with package version
CodeGat Jul 2, 2024
5a1a94b
spack.yaml: Update netcdf-c to 4.7.4
CodeGat Jul 3, 2024
4b14d19
spack.yaml: Updated comments
CodeGat Jul 3, 2024
e9040c0
spack.yaml: Updated um7 to 2024.07.03
CodeGat Jul 3, 2024
038f7ed
versions.json: Reverted to 2024.07.01 spack-config
CodeGat Jul 3, 2024
8143160
versions.json: spack-packages version to 2024.07.03, spack-config bac…
CodeGat Jul 3, 2024
45fa480
versions.json: Updated to spack 0.22
CodeGat Jul 4, 2024
1edb1aa
spack.yaml: hide_implicits: false and autoload: run
CodeGat Jul 4, 2024
cfe0953
spack-config 2024.07.05 using exclude_implicits: true
CodeGat Jul 5, 2024
5198074
versions.json: spack-packages 2024.07.05
CodeGat Jul 5, 2024
fca0010
versions.json: Updated spack-packages 2024.07.07, rebuilding with htt…
CodeGat Jul 8, 2024
298a0c5
versions.json: Update spack-packages 2024.07.08
CodeGat Jul 8, 2024
ff26a94
versions.json: Update spack-packages 2024.07.10 (updated um7 spd)
CodeGat Jul 9, 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
6 changes: 6 additions & 0 deletions config/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://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.10",
"spack-config": "2024.07.05"
}
84 changes: 84 additions & 0 deletions spack.yaml
CodeGat marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
specs:
- [email protected]
packages:
# Direct ACCESS-NRI dependencies
# Note: some packages have branch-specific logic and hence can't use
# the usual '@git.DATE' calver (https://calver.org) format, instead
# requiring a `@git.DATE=BRANCH` version.
mom5:
require:
- '@git.access-esm1.5_2024.06.20=access-esm1.5'
cice4:
require:
- '@git.2024.05.21=access-esm1.5'
um7:
require:
- '@git.2024.07.03=access-esm1.5'
# Lower-level ACCESS-NRI dependencies
gcom4:
require:
- '@git.2024.05.28=access-esm1.5'
oasis3-mct:
require:
- '@git.access-esm1.5_2024.05.24=access-esm1.5'
# Other dependencies
openmpi:
require:
- '@4.0.2'
netcdf-c:
require:
- '@4.7.4'
netcdf-fortran:
require:
- '@4.5.2'
hdf5:
require:
- '@1.10.11'

# Preferences for all packages
all:
require:
- '%[email protected]'
- '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-esm1p5
- cice4
- um7
- mom5
exclude_implicits: true
all:
autoload: run
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
access-esm1p5: '{name}/2024.05.0'
cice4: '{name}/2024.05.21'
um7: '{name}/2024.07.03'
mom5: '{name}/access-esm1.5_2024.06.20'
config:
install_tree:
root: $spack/../restricted/ukmo/release
source_cache: $spack/../restricted/ukmo/source_cache
build_stage:
- $TMPDIR/restricted/spack-stage
Loading