Skip to content

Build with optimisation set in SPR, and with the bug-fix from Martin#193

Draft
manodeep wants to merge 7 commits intomainfrom
update_um7_and_gcom4_flags
Draft

Build with optimisation set in SPR, and with the bug-fix from Martin#193
manodeep wants to merge 7 commits intomainfrom
update_um7_and_gcom4_flags

Conversation

@manodeep
Copy link
Collaborator

@manodeep manodeep commented Mar 4, 2026

Using an updated UM7 SPR that sets -O2 for atm_step and u_model, and keeps -O0 for set_atm_pointers + building UM7 with the bug-fix from Martin (that fixes the wrong offsets which were unveiled by my setting the -O2 flags across all three top-level UM7 routines)


🚀 The latest prerelease access-esm1p6/pr193-10 at 82e41f9 is here: #193 (comment) 🚀

@manodeep manodeep marked this pull request as draft March 4, 2026 11:19
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

The model version in the spack.yaml has not been updated.
You can update it manually.
Alternatively, comment the following to have it updated and committed automatically:

  • !bump major for feature releases
  • !bump minor for bugfixes

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-1 with commit 0cd6217

🖥️ Gadi Deployment ❌

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-1 with commit 0cd6217

🖥️ Gadi Deployment ❌

@manodeep manodeep temporarily deployed to Gadi Prerelease March 4, 2026 11:43 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-2 with commit 2abe560

🖥️ Gadi Deployment ✔️

Usage Instructions

access-esm1.6, defined in spack.yaml, will be deployed to Gadi as:

  • 2026.02.001 as a Release (when merged).
  • pr193-2 as a Prerelease (during this PR).

This Prerelease is accessible on Gadi using:

module use /g/data/vk83/prerelease/modules
module load access-esm1p6/pr193-2

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/1.1/spack in the access-esm1p6-pr193-2 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, or propose changes to build-cds config/settings.json.

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 4, 2026

!update-configs

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🔧 Opening/Updating Model Configuration PRs in ACCESS-NRI/access-esm1.6-configs

Configurations Requested

Configurations requested from profile default:

  • dev-1pctCO2

  • dev-4xCO2+concentrations

  • dev-historical+concentrations

  • dev-preindustrial+concentrations

Pull Requests Opened/Updated

The following PRs were opened/updated:

More details can be found in the workflow run: https://github.com/ACCESS-NRI/ACCESS-ESM1.6/actions/runs/22668738014

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 5, 2026

!redeploy

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-4 with commit 81c460c

🖥️ Gadi Deployment ❌

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-3 with commit 81c460c

🖥️ Gadi Deployment ❌

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 5, 2026

Whoops - I might have set off a race condition by manually specifying redeploy (which I did because there was no indication that a new deploy was starting)

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 5, 2026

!redeploy

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-5 with commit 81c460c

🖥️ Gadi Deployment ✔️

Usage Instructions

access-esm1.6, defined in spack.yaml, will be deployed to Gadi as:

  • 2026.02.001 as a Release (when merged).
  • pr193-5 as a Prerelease (during this PR).

This Prerelease is accessible on Gadi using:

module use /g/data/vk83/prerelease/modules
module load access-esm1p6/pr193-5

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/1.1/spack in the access-esm1p6-pr193-5 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, or propose changes to build-cds config/settings.json.

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 6, 2026

!update-configs

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🔧 Opening/Updating Model Configuration PRs in ACCESS-NRI/access-esm1.6-configs

Configurations Requested

Configurations requested from profile default:

  • dev-1pctCO2

  • dev-4xCO2+concentrations

  • dev-historical+concentrations

  • dev-preindustrial+concentrations

Pull Requests Opened/Updated

The following PRs were opened/updated:

More details can be found in the workflow run: https://github.com/ACCESS-NRI/ACCESS-ESM1.6/actions/runs/22742648251

@manodeep manodeep temporarily deployed to Gadi Prerelease March 6, 2026 03:54 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-6 with commit 6c25bc1

🖥️ Gadi Deployment ✔️

Usage Instructions

access-esm1.6, defined in spack.yaml, will be deployed to Gadi as:

  • 2026.02.001 as a Release (when merged).
  • pr193-6 as a Prerelease (during this PR).

This Prerelease is accessible on Gadi using:

module use /g/data/vk83/prerelease/modules
module load access-esm1p6/pr193-6

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/1.1/spack in the access-esm1p6-pr193-6 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, or propose changes to build-cds config/settings.json.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-7 with commit a4bfaa8

🖥️ Gadi Deployment ❌

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 6, 2026

Sorry for another ping @CodeGat - think we have seen this new prefix is too big error before - https://github.com/ACCESS-NRI/ACCESS-ESM1.6/actions/runs/22752303112/job/65989380495?pr=193#step:15:1399

==> [2026-03-06-17:45:21.922157] InstallError: Terminating after first install failure: Cannot replace b'/g/data/vk83/prerelease/apps/spack/1.1/release' with b'/g/data/vk83/prerelease/apps/spack/1.1/restricted/ukmo/release' because the new prefix is longer. To fix this, compile with more padding (config:install_tree:padded_length), or install to a shorter prefix.
==> [2026-03-06-17:45:21.922270] Error: Terminating after first install failure: Cannot replace b'/g/data/vk83/prerelease/apps/spack/1.1/release' with b'/g/data/vk83/prerelease/apps/spack/1.1/restricted/ukmo/release' because the new prefix is longer. To fix this, compile with more padding (config:install_tree:padded_length), or install to a shorter prefix.

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 6, 2026

There's at least one more failure for the same reason (for gmake) higher up in the log - here

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-8 with commit 5522772

🖥️ Gadi Deployment ❌

@manodeep
Copy link
Collaborator Author

!redeploy

@github-actions
Copy link

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-9 with commit 5522772

🖥️ Gadi Deployment ❌

@manodeep
Copy link
Collaborator Author

manodeep commented Mar 10, 2026

Interesting - this failed because of the -xsapphirerapids flag which gets passed to the compiler during the configure step in oasis3-mct, and because the compiling is happening on a cascadelake core (On the login-node), the resulting exe does not run. Here's the relevant text from config.log

icx: warning: overriding '-march=x86-64-v4' option with '-x sapphirerapids' [-Woverriding-option]
configure:2960: $? = 0
configure:2967: ./conftest

Please verify that both the operating system and the processor support Intel(R) AVX512VBMI, AVX512_VPOPCNTDQ, AVX512_BITALG, AVX512_VBMI2 and AVX512_FP16 instructions.

configure:2971: $? = 1
configure:2978: error: in `/scratch/tm70/tm70_ci/tmp/restricted/spack-stage/spack-stage-oasis3-mct-5.2-gqvm7znr6oyjkfjcfpu3wwkkorir4xbi/spack-src/compile_oa3-mct/build/lib/mctdir':
configure:2980: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

Seems to be potentially solvable by a configure argument like --host=sapphirerapids

This section in the autoconf docs is relevant. Adding --host enables cross-compilation and then autoconf does not run any tests that require running the compiled exe

Side-note: Why is it (almost) always oasis3-mct 😅

@manodeep manodeep deployed to Gadi Prerelease March 16, 2026 12:18 — with GitHub Actions Active
@github-actions
Copy link

🚀 Attempted to deploy access-esm1p6 Prerelease pr193-10 with commit 82e41f9

🖥️ Gadi Deployment ✔️

Usage Instructions

access-esm1.6, defined in spack.yaml, will be deployed to Gadi as:

  • 2026.02.001 as a Release (when merged).
  • pr193-10 as a Prerelease (during this PR).

This Prerelease is accessible on Gadi using:

module use /g/data/vk83/prerelease/modules
module load access-esm1p6/pr193-10

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/1.1/spack in the access-esm1p6-pr193-10 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, or propose changes to build-cds config/settings.json.

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.

1 participant