Update cloud to spack-stack 1.9.2 with GNU stack fix#902
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Putting this PR into draft mode to include spack-stack 1.9.1 update. |
|
This PR is waiting for #890 to merge. |
|
Marking this PR as ready for review. I've updated the cloud module files to use spack-stack 1.9.2 and tested the build after the merging of #890. The build is successful with no errors and one warning (deprecation): @DavidHuber-NOAA @weihuang-jedi This PR is now ready for review. |
DavidHuber-NOAA
left a comment
There was a problem hiding this comment.
Looks good to me. Thanks Taylor!
RussTreadon-NOAA
left a comment
There was a problem hiding this comment.
This PR only modifies modulefiles/gsi_noaacloud.intel.lua. Thus, this PR does not impact the machines which most developers use: Gaea C6, Hera, Hercules, Orion, Ursa, and WCOSS2.
I do not have cloud access to test the changes to modulefiles/gsi_noaacloud.intel.lua.
Approve pending confirmation that the changes work as intended.
|
@weihuang-jedi : Do you have any input regarding this PR? We can schedule this PR for merger into GSI |
Thank you, @RussTreadon-NOAA, for taking a look at this PR and moving it forward. I can confirm that these changes allow a successful GSI build on the cloud using spack-stack 1.9.2; see build logs on Hera/Ursa here: |
|
I have looked the code changes, which looks good to me. |
Description
This PR removes the unloading of
gnufrom the cloud module file. Loadinggnuadds GCC libraries and tools to the necessary paths that are needed in the stack. There are different GCC version defaults on the legacy versus latest NOAA RDHPCS cloud/appssnapshots (13.2.0 for legacy, 14.2.0 for latest), and these different version module files have different configurations so that the GCC version is specified as 13.2.0 to have consistency across the different/appsmounts.Resolves #901
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I cloned and ran the build script on PW AWS with latest
/appssnapshot mounted. I am not currently able to test with the legacy/appssnapshot, but the GCC default version is specified as 13.2.0 in this PR which is the default GCC version on the legacy/appssnapshot so that the build should finish successfully regardless of which/appssnapshot is mounted.Checklist