Skip to content
Draft
Show file tree
Hide file tree
Changes from 20 commits
Commits
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.08.003"
"spack-packages": "2026.01.000"
}
17 changes: 10 additions & 7 deletions spack.yaml
Copy link
Collaborator

Choose a reason for hiding this comment

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

esmf @8.8.1 should be available now when ready,

you'll need to remove 'esmf /covllzb' when changing the esmf version, and then can update it with the new spack hash (from the log of the concretisation step) after the first build of [email protected]

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Great. Do you expect it to be answer changing?

Didn't quite follow this:

you'll need to remove 'esmf /covllzb' when changing the esmf version, and then can update it with the new spack hash (from the log of the concretisation step) after the first build of [email protected]

Breaking it down:

you'll need to remove 'esmf /covllzb' when changing the esmf version

I can see that in the spack.yaml, all good.

and then can update it with the new spack hash (from the log of the concretisation step) after the first build of [email protected]

So I think the idea is that I try and build this branch using the build-ci, then look at the logs to find the spack concretize command and then copy spack hash? An example is here. This is just to speed up the compilation? And you're suggesting I insert the spack hash so it doesn't rebuild it each time, correct? Where do I insert the spack hash?

Copy link
Collaborator

@dougiesquire dougiesquire Jan 29, 2026

Choose a reason for hiding this comment

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

Great. Do you expect it to be answer changing?

Probably not, but possibly - see release notes for 8.8.0 (no b4b changes from 8.8.0 to 8.8.1)

So I think the idea is that I try and build this branch using the build-ci, then look at the logs to find the spack concretize command and then copy spack hash? An example is here. This is just to speed up the compilation? And you're suggesting I insert the spack hash so it doesn't rebuild it each time, correct?

That's right. You're looking for this line (spack hash is in 3rd column)

Where do I insert the spack hash?

The same place you removed it from in the previous step (ie re-add - esmf /<new_hash> to spack:specs:)

Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
# configuration settings.
# Instructions for editing this file are found in
# https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml
spack:
spack:
specs:
- [email protected]
- 'esmf /covllzb' #for speeding up pre-release builds only, remove this line before release
- 'access-mocsy /ljkwzxm' #for speeding up pre-release builds only, remove this line before release
packages:
# Main Dependencies
# Main components
access3:
require:
- '@2025.08.000'
- '@b4ba1059e8824d1e60ff71c593131161dc547fdf'
- configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3
- 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
Expand All @@ -34,13 +36,13 @@ spack:
- '@2025.08.000'
access3-share:
require:
- '@2025.08.000'
- '@b4ba1059e8824d1e60ff71c593131161dc547fdf'
- 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
access-generic-tracers:
require:
- '@2025.08.000'
- '@2025.09.000'
- 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
Expand Down Expand Up @@ -73,16 +75,17 @@ spack:
- 'cppflags="-DMAXFIELDMETHODS_=600"'
openmpi:
require:
- '@4.1.7'
- '@5.0.8'
fortranxml:
require:
- '@4.1.2'
gcc-runtime:
require:
- '%gcc'

all:
require:
- '%[email protected]'
- '%[email protected]' # compiler
- 'target=x86_64_v4'
view: true
concretizer:
Expand Down