Skip to content

Update cloud to spack-stack 1.9.2 with GNU stack fix#82

Merged
CoryMartin-NOAA merged 19 commits into
NOAA-EMC:developfrom
TaylorRoper-NOAA:update/cloud_build
Aug 5, 2025
Merged

Update cloud to spack-stack 1.9.2 with GNU stack fix#82
CoryMartin-NOAA merged 19 commits into
NOAA-EMC:developfrom
TaylorRoper-NOAA:update/cloud_build

Conversation

@TaylorRoper-NOAA
Copy link
Copy Markdown
Contributor

This PR removes the unloading of gnu from the cloud module file. Loading gnu adds 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 /apps snapshots (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 /apps mounts.

I cloned and ran the build script on PW AWS with latest /apps snapshot mounted. I am not currently able to test with the legacy /apps snapshot, but the GCC default version is specified as 13.2.0 in this PR which is the default GCC version on the legacy /apps snapshot so that the build should finish successfully regardless of which /apps snapshot is mounted.

Resolves #81

Copy link
Copy Markdown
Collaborator

@DavidHuber-NOAA DavidHuber-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@TaylorRoper-NOAA
Copy link
Copy Markdown
Contributor Author

Putting this PR into draft mode to include spack-stack 1.9.1 update.

@TaylorRoper-NOAA TaylorRoper-NOAA marked this pull request as draft July 3, 2025 15:28
Copy link
Copy Markdown
Contributor

@RussTreadon-NOAA RussTreadon-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not test the changes in the PR but if the changes work for you (@TaylorRoper-NOAA), I'm fine with these changes.

Approve.

@TaylorRoper-NOAA TaylorRoper-NOAA changed the title Add gcc version and maintain gnu stack on cloud Update cloud to spack-stack 1.9.1 with GNU stack fix Jul 3, 2025
@TaylorRoper-NOAA
Copy link
Copy Markdown
Contributor Author

This PR is waiting for merging of #78

@TaylorRoper-NOAA TaylorRoper-NOAA changed the title Update cloud to spack-stack 1.9.1 with GNU stack fix Update cloud to spack-stack 1.9.2 with GNU stack fix Jul 17, 2025
@TaylorRoper-NOAA TaylorRoper-NOAA marked this pull request as ready for review July 17, 2025 17:41
@TaylorRoper-NOAA
Copy link
Copy Markdown
Contributor Author

@DavidHuber-NOAA @RussTreadon-NOAA With the merging of #78, this PR is now ready for re-review. The only difference in cloud module files between when this PR was originally reviewed and now is updating the spack-stack version from 1.9.1 to 1.9.2. The build using 1.9.2 was successful with no errors and no new warnings.

Copy link
Copy Markdown
Contributor

@RussTreadon-NOAA RussTreadon-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can not test this change. @TaylorRoper-NOAA tested and found acceptable behavior.

Approve.

@CoryMartin-NOAA CoryMartin-NOAA merged commit d78314f into NOAA-EMC:develop Aug 5, 2025
2 of 4 checks passed
@TaylorRoper-NOAA TaylorRoper-NOAA deleted the update/cloud_build branch August 5, 2025 13:44
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.

Update cloud build env

4 participants