Building ACCESS-OM3

I’m trying to follow Modify and build an ACCESS model's source code - ACCESS-Hive Docs to build ACCESS-OM3. I’ve followed the Spack install instructions, and can build both the access-test package, and ACCESS-ESM1.5 as in the document above. However, when I try to apply the instructions to ACCESS-OM3, I get an error during spack concretisation:

$ git clone https://github.com/access-nri/access-om3
$ spack env create om3-dev access-om3/spack.yaml
$ spack env activate -p om3-dev
[om3-dev] $ spack concretize -f --fresh

==> Error: concretization failed for the following reasons:

   1. cannot satisfy a requirement for package 'access-mom6'.

Hi @angus-g

Can you try checking out spack-packages tag “2025.06.000” instead of main ?

I think there were some breaking changes between versions. @dougiesquire can confirm

3 Likes

Thanks, that indeed does the trick! Must’ve just picked the wrong time to try :melting_face:

I’ve made an issue to get the documentation updated too: Add note about spack-packages version to " Modify and build an ACCESS model's source code " · Issue #987 · ACCESS-NRI/access-hive.org.au · GitHub

1 Like