Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openmpi to a version that works on other systems #53

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

harshula
Copy link
Contributor

@harshula harshula commented Mar 3, 2025

  • Leonardo and Setonix had issues with openmpi 4.0.2 when building ACCESS-OM2.
  • Update ifort to a recent version that is available on other systems.

🚀 The latest prerelease access-esm1p6/pr53-1 at 85dcdad is here: #53 (comment) 🚀

* Leonardo and Setonix had issues with openmpi 4.0.2 when building
  ACCESS-OM2.
* Update ifort to a recent version that is available on other systems.
@harshula harshula self-assigned this Mar 3, 2025
Copy link

github-actions bot commented Mar 3, 2025

🚀 Deploying access-esm1.6 dev_2024.12.0 as prerelease pr53-1 with commit 85dcdad

Details and usage instructions

This access-esm1.6 model will be deployed as:

  • dev_2024.12.0 as a Release (when merged).
  • pr53-1 as a Prerelease (during this PR).

This Prerelease is accessible on Gadi using:

module use /g/data/vk83/prerelease/modules
module load access-esm1p6/pr53-1

where the binaries shall be on your $PATH.
This Prerelease is also accessible on Gadi via /g/data/vk83/prerelease/apps/spack/0.22/spack in the access-esm1p6-pr53-1 environment.

🛠️ Using: spack 0.22, spack-packages 2024.12.0, spack-config 2025.02.1

Details

It will be deployed using:

  • access-nri/spack on branch 0.22
  • access-nri/spack-packages version 2024.12.0
  • access-nri/spack-config version 2025.02.1

If this is not what was expected, commit changes to config/versions.json.

@harshula
Copy link
Contributor Author

harshula commented Mar 4, 2025

Some of the following SPRs need to be modified:

packages/mom5/package.py
47-    with when("@access-esm1.5:access-esm1.6"):
48-        depends_on("netcdf-c@4.7.1:4.7.4")
49-        depends_on("netcdf-fortran@4.5.1:4.5.2")
50-        # Depend on "openmpi".
51:        depends_on("openmpi@4.0.2:4.1.0")

packages/cice4/package.py
21-    version("access-esm1.5", branch="access-esm1.5")
22-
23-    depends_on("netcdf-fortran@4.5.1:4.5.2")
24-    # Depend on "openmpi".
25:    depends_on("openmpi@4.0.2:4.1.0")

packages/gcom/package.py
26-    # For the default MPI version for NCI, see (e.g.)
27-    # https://code.metoffice.gov.uk/trac/gcom/browser/main/trunk/rose-stem/site/nci/suite.rc
28-    # For cherry picking virtual dependencies, see
29-    # https://github.com/spack/spack/releases/tag/v0.21.0 Feature 4
30:    depends_on("openmpi@4.1.3:", when="+mpi^[virtuals=mpi] openmpi", type=("build", "link", "run"))

packages/oasis3-mct/package.py
30-    with when("@access-esm1.5"):
31-        depends_on("hdf5@1.10.5:1.10.11")
32-        depends_on("netcdf-fortran@4.5.1:4.5.2")
33-        # Depend on "openmpi".
34:        depends_on("openmpi@4.0.2:4.1.0")

packages/um7/package.py
27-
28-    depends_on("fcm", type="build")
29-    depends_on("dummygrib", type=("build", "link"))
30-    depends_on("gcom4@access-esm1.5+mpi", type=("build", "link"))
31:    depends_on("openmpi@4.0.2:4.1.0", type=("build", "run"))

@harshula
Copy link
Contributor Author

harshula commented Mar 4, 2025

Had a good chat with @penguian & @blimlim ! We have a plan on how to update the SPRs and verify that it doesn't have any negative consequences on ACCESS-ESM1.5 builds.

@harshula
Copy link
Contributor Author

harshula commented Mar 4, 2025

We should merge this PR as soon as the SPRs are fixed. The output should be bitwise reproducible.

@access-hive-bot
Copy link

This pull request has been mentioned on ACCESS Hive Community Forum. There might be relevant details there:

https://forum.access-hive.org.au/t/csiro-access-nri-standup-minutes/3789/26

@access-hive-bot
Copy link

This pull request has been mentioned on ACCESS Hive Community Forum. There might be relevant details there:

https://forum.access-hive.org.au/t/access-esm1-6-development/3114/130

@harshula
Copy link
Contributor Author

harshula commented Mar 4, 2025

An ACCESS-ESM1.5 Pre-release build (ACCESS-NRI/ACCESS-ESM1.5#28) is ready for testing to ensure that the modifications to the SPRs do not change the behaviour of ACCESS-ESM1.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants