Skip to content

Conversation

@dougiesquire
Copy link
Collaborator

@dougiesquire dougiesquire commented Dec 1, 2025

This PR adds a spec to build MOM6 ocean-only


🚀 The latest prerelease access-om3/pr166-3 at a8bb9b3 is here: #166 (comment) 🚀

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

🚀 Attempted to deploy access-om3 Prerelease pr166-1 with commit c75c25a

🖥️ Gadi Deployment ❌

@anton-seaice
Copy link
Collaborator

The environment view in /g/data/vk83/prerelease/apps/spack/0.22/environments/access-om3-pr166-1/.spack-env/view could not be created, because the following two specs project to the same prefix:
    access-mom6@=2025.07.000%oneapi@=2025.2.0 cflags='-march=sapphirerapids -unroll -mtune=sapphirerapids' cxxflags='-mtune=sapphirerapids -unroll -march=sapphirerapids' fflags='-mtune=sapphirerapids -march=sapphirerapids -unroll' ~access3~asymmetric_mem~ipo~openmp build_system=cmake build_type=Release generator=make arch=linux-rocky8-x86_64_v4, and
    access-mom6@=2025.07.000%oneapi@=2025.2.0 cflags='-march=sapphirerapids -unroll -mtune=sapphirerapids' cxxflags='-mtune=sapphirerapids -unroll -march=sapphirerapids' fflags='-unroll -mtune=sapphirerapids -march=sapphirerapids' +access3~asymmetric_mem~ipo~openmp build_system=cmake build_type=Release generator=make arch=linux-rocky8-x86_64_v4.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

🚀 Attempted to deploy access-om3 Prerelease pr166-2 with commit ab06262

🖥️ Gadi Deployment ❌

@chrisb13
Copy link
Collaborator

chrisb13 commented Dec 1, 2025

@dougiesquire wondering if I should try something like this on Setonix (e.g. anu-tub on Setonix), this isn't quite working yet though? I guess I could use this process? (Building MOM6 standalone within your own Spack environment from here)

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

🚀 Attempted to deploy access-om3 Prerelease pr166-3 with commit a8bb9b3

🖥️ Gadi Deployment ✔️

Usage Instructions

access-om3, defined in ./spack.yaml, will be deployed to Gadi as:

  • 2025.08.001 as a Release (when merged).
  • pr166-3 as a Prerelease (during this PR).

This Prerelease is accessible on Gadi using:

module use /g/data/vk83/prerelease/modules
module load access-om3/pr166-3

When using the above modules, the binaries shall be on your $PATH.

For advanced users, this Prerelease is also accessible on Gadi via /g/data/vk83/prerelease/apps/spack/0.22/spack in the access-om3-pr166-3 environment.
Due to inode-saving measures, one will have to manually untar the environment metadata before environment activation with tar -xf .spack-env .spack-env.tar. It will require one to have write privileges.

Configuration Information

This Prerelease is deployed using:

If the above was not what was expected, commit changes to config/versions.json in this PR.

@dougiesquire
Copy link
Collaborator Author

This worked

$ module use /g/data/vk83/prerelease/modules
$ module load access-om3/pr166-3
$ which access-om3-MOM6-CICE6
/g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64_v4/oneapi-2025.2.0/access3-2025.08.000-j3bma557vvc5r6pq5zz32gdiho3qlhvm/bin/access-om3-MOM6-CICE6
$ which mom6-solo
/g/data/vk83/prerelease/apps/spack/0.22/release/linux-rocky8-x86_64_v4/oneapi-2025.2.0/access-mom6-git.078fc7d944c0d2b2b4e4ddf1ce7cacc617f20d0f_2025.07.000-git.3-w44va6ksxchmzdofg6zh5m7konar5tss/bin/mom6-solo

@chrisb13
Copy link
Collaborator

chrisb13 commented Dec 3, 2025

Sweet! So it's building? Tested that it runs?

@dougiesquire is this promising enough that I should hold off on doing a review of @jbisits' PR, he's just updated it baa8d29 to accommodate for our chat yesterday at the twg. i.e if we thought it was months away I'd just review now and update later but if it's ready in the near-ish-term I'll hold off.

@dougiesquire dougiesquire changed the title Deploy MOM6 ocean-only exe with ACCESS-OM3 Deploy MOM6 solo exe with ACCESS-OM3 Dec 4, 2025
@dougiesquire
Copy link
Collaborator Author

dougiesquire commented Dec 4, 2025

Sweet! So it's building? Tested that it runs?

@dougiesquire is this promising enough that I should hold off on doing a review of @jbisits' PR, he's just updated it baa8d29 to accommodate for our chat yesterday at the twg. i.e if we thought it was months away I'd just review now and update later but if it's ready in the near-ish-term I'll hold off.

Yup it runs. I've tested the access-om3-MOM6-CICE6 exe using the ACCESS-OM3 dev-MC_100km_jra_ryf configuration and the mom6-solo executable using the MOM6-examples/ocean_only/global configuration.

IMO we could add this functionality now (pending approval of the approach from the release team and @anton-seaice)

@chrisb13
Copy link
Collaborator

chrisb13 commented Dec 4, 2025

pending approval of the approach from the release team

@aidanheerdegen as discussed at lunch.

@aidanheerdegen
Copy link
Member

Fine by me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants