Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a51c303
Update spack.yaml to demonstrate new spack components
anton-seaice Jan 14, 2025
99a3c68
Update versions.json
anton-seaice Jan 14, 2025
8d650f7
Update spack.yaml
anton-seaice Jan 14, 2025
e24e701
Update spack.yaml
anton-seaice Jan 14, 2025
03144e0
Update spack.yaml
anton-seaice Jan 14, 2025
e750ce8
Update spack.yaml
anton-seaice Jan 14, 2025
a9748ed
Update spack.yaml
anton-seaice Jan 21, 2025
5e06739
Update spack.yaml
anton-seaice Jan 21, 2025
e7cb77a
Update spack.yaml
anton-seaice Mar 13, 2025
07c8aa5
Update spack.yaml
anton-seaice Mar 17, 2025
b7a9299
use git hash for share
anton-seaice Mar 20, 2025
e882039
Update spack.yaml
anton-seaice Mar 26, 2025
495adc0
Force spack to use the right cice commit
anton-seaice Mar 26, 2025
23cfecd
Use commit hashes
anton-seaice Mar 27, 2025
9b9cea2
Update spack.yaml
anton-seaice Mar 27, 2025
775024b
Use some release tags
anton-seaice Mar 28, 2025
4268294
Some '
anton-seaice Mar 28, 2025
5d3d92c
Name change access3-exe to access3
anton-seaice Mar 28, 2025
13ab9fe
Update spack.yaml
anton-seaice Apr 4, 2025
2b0f24c
Use CM3 component versions
blimlim Apr 22, 2025
9e346ec
Test module path prepend
blimlim Apr 22, 2025
9633775
Add gcom and access3-share to modules
blimlim Apr 23, 2025
449d78b
Merge branch 'main' into CM3-modules
blimlim Apr 23, 2025
e7b8475
Add variant + use custom packages to build gcom
blimlim Apr 23, 2025
823c8d8
Merge remote-tracking branch 'origin/CM3-modules' into CM3-modules
blimlim Apr 23, 2025
6f59089
Modified access3-share to not build cdeps
blimlim Apr 24, 2025
80e44e7
Always find fox
blimlim Apr 24, 2025
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
2 changes: 1 addition & 1 deletion config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
"spack": "0.22",
"spack-packages": "2025.03.005"
"spack-packages": "cm3-om3-libs"
}
86 changes: 70 additions & 16 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,41 @@
# configuration settings.
# Instructions for editing this file are found in
# https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
# add package specs to the `specs` list
specs:
- [email protected]
- [email protected]
- '[email protected] /lv5t7j4'
packages:
# Main Dependencies
access-om3-nuopc:
access3:
require:
- '@git.0.4.1'
- configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3

# Other Dependencies
esmf:
- '@git.4286068fd22c5d8d6844bca496a0f732a10273ae'
- configurations=MOM6-CICE6
- '+cm3'
access-cice:
require:
- '@git.d4e7ca14826cc2ca652f13e135cc5f41e9fd3d03'
- io_type=PIO
access-mom6:
require:
- '@git.cmake_build'
- '+asymmetric_mem'
access3-share:
require:
- '@git.4286068fd22c5d8d6844bca496a0f732a10273ae'
# esmf:
# require:
# - '@git.v8.7.0'
gcom:
require:
- '@8.0'
fms:
require:
- '@git.v8.7.0'
- '@git.2024.03'
parallelio:
require:
- '@2.6.2'
Expand All @@ -28,16 +49,15 @@ spack:
netcdf-fortran:
require:
- '@4.6.1'
fms:
require:
- '@git.2024.03'
openmpi:
require:
- '@4.1.7'
gcc-runtime:
require:
- '%gcc'
fortranxml:
require:
- '@4.1.2'

all:
require:
- '%[email protected]'
Expand All @@ -46,11 +66,45 @@ spack:
concretizer:
unify: true
modules:
prefix_inspections:
bin:
- PATH
lib:
- LIBRARY_PATH
- LD_LIBRARY_PATH
lib64:
- LIBRARY_PATH
- LD_LIBRARY_PATH
include:
- FPATH

default:
tcl:
include:
- access-om3
- access-om3-nuopc
- access-mom6
- access-cice
- access3-share
- access3
- esmf
- fms
- parallelio
- fortranxml
- gcom
- openmpi
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- openmpi

Using the system openmpi module instead is better

- netcdf-c
- netcdf-fortran

projections:
access-om3: '{name}/2025.01.2'
access-om3-nuopc: '{name}/0.4.1-{hash:7}'
access-om3: '{name}/2025.x.0'
access-cice: '{name}/d4e7ca14826cc2ca652f13e135cc5f41e9fd3d03-{hash:7}'
access-mom6: '{name}/cmake_build-{hash:7}'
access3-share: '{name}/4286068fd22c5d8d6844bca496a0f732a10273ae-{hash:7}'
parallelio: '{name}/2.6.2-{hash:7}'
fortranxml: '{name}/4.1.2-{hash:7}'
fms: '{name}/2024.03-{hash:7}'
esmf: '{name}/v8.7.0-{hash:7}'
netcdf-c: '{name}/4.9.2-{hash:7}'
netcdf-fortran: '{name}/4.6.1-{hash:7}'
gcom: '{name}/8.0-{hash:7}'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gcom: '{name}/8.0-{hash:7}'
gcom: '{name}/8.0-{hash:7}'

You can rename this to something more convenient (e.g. which doesn't change with the hash) in draft PRs


Loading