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 UPP modulefile on S4 with spack-stack 1.5.0 #828

Merged

Conversation

souopgui
Copy link
Contributor

  • Rename s4 modulefiles to s4.lua on S4
  • Update s4.lua with spack-stack on S4

@FernandoAndrade-NOAA
Copy link
Collaborator

FernandoAndrade-NOAA commented Nov 29, 2023

Hello @souopgui, with the switch to spack-stack 1.5.0, UPP has restructured its .lua module files to resemble the ufs weather model more closely. The upp_common.lua file should now include most of those load commands and versions within your S4 .lua, meaning you can remove the duplicate loads and instead load("upp_common") similar to the hera, hercules, and orion modulefiles. Typically only the stack-intel, stack-intel-oneapi-mpi, and cmake loads remain within the .lua modulefiles.

This would make it a bit easier to manage and read, if you could introduce those changes into your s4.lua. Thank you.

@souopgui
Copy link
Contributor Author

Hello @souopgui, with the switch to spack-stack 1.5.0, UPP has restructured its .lua module files to resemble the ufs weather model more closely. The upp_common.lua file should now include most of those load commands and versions within your S4 .lua, meaning you can remove the duplicate loads and instead load("upp_common") similar to the hera, hercules, and orion modulefiles. Typically only the stack-intel, stack-intel-oneapi-mpi, and cmake loads remain within the .lua modulefiles.

This would make it a bit easier to manage and read, if you could introduce those changes into your s4.lua. Thank you.

Done.

@WenMeng-NOAA
Copy link
Collaborator

@souopgui Can you open an UPP issue to link this PR?

@WenMeng-NOAA WenMeng-NOAA added enhancement New feature or request Ready for Review This PR is ready for code review. labels Nov 30, 2023
@WenMeng-NOAA WenMeng-NOAA added the No Baseline Change No baseline of the UPP regression tests are made. label Nov 30, 2023
@WenMeng-NOAA WenMeng-NOAA linked an issue Nov 30, 2023 that may be closed by this pull request
@WenMeng-NOAA
Copy link
Collaborator

The build test on WCOSS2 was completed.

@FernandoAndrade-NOAA
Copy link
Collaborator

The build test on WCOSS2 was completed.

There was a delay due to an unexpected issue with cloning, running RTs on Hera and Orion now.

@WenMeng-NOAA
Copy link
Collaborator

The build test on WCOSS2 was completed.

There was a delay due to an unexpected issue with cloning, running RTs on Hera and Orion now.

@FernandoAndrade-NOAA No need for running the whole UPP RT since the update of the modulefile on s4 should have no impact on the UPP build on WCOSS2, Hera and Orion. You might have the same build test either Hera and Orion as mine on WCOSS2:

cd UPP/tests
./compile_upp.sh

@FernandoAndrade-NOAA
Copy link
Collaborator

The build test on WCOSS2 was completed.

There was a delay due to an unexpected issue with cloning, running RTs on Hera and Orion now.

@FernandoAndrade-NOAA No need for running the whole UPP RT since the update of the modulefile on s4 should have no impact on the UPP build on WCOSS2, Hera and Orion. You might have the same build test either Hera and Orion as mine on WCOSS2:

cd UPP/tests
./compile_upp.sh

I was unsure if that was sufficient, thanks for the heads up! In that case hera, hercules and orion built successfully

@WenMeng-NOAA
Copy link
Collaborator

This PR is ready for merging.

@WenMeng-NOAA WenMeng-NOAA merged commit 987c7f2 into NOAA-EMC:develop Dec 1, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request No Baseline Change No baseline of the UPP regression tests are made. Ready for Review This PR is ready for code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update modulefile on s4 with spack-stack-1.5.0
3 participants