-
Notifications
You must be signed in to change notification settings - Fork 119
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
[develop] Add Hera GNU modulefile and fundamental test suite and update Hera Intel modulefile. #477
[develop] Add Hera GNU modulefile and fundamental test suite and update Hera Intel modulefile. #477
Conversation
Machine: hera |
modulefiles/build_hera_gnu.lua
Outdated
setenv("CMAKE_C_COMPILER","mpiicc") | ||
setenv("CMAKE_CXX_COMPILER","mpiicpc") | ||
setenv("CMAKE_Fortran_COMPILER","mpiifort") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be the GNU couterparts i think
setenv("CMAKE_C_COMPILER","mpicc")
setenv("CMAKE_CXX_COMPILER","mpicxx")
setenv("CMAKE_Fortran_COMPILER","mpif90")
671a466
to
d4ceeca
Compare
@danielabdi-noaa Nice catch! I have corrected this entries. |
Machine: hera |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New hpc-stack location in EPIC-managed space. As discussed in #419, #427, ufs-community/ufs-weather-model#1465, ufs-community/ufs-weather-model#1468.
This stack in this location on Hera has been independently tested with the UFS-WM by @jkbk2004, and not changing the baseline.
modulefiles/build_hera_gnu.lua
Outdated
|
||
load("srw_common") | ||
|
||
load(pathJoin("nccmp", os.getenv("nccmp_ver") or "1.8.7")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version built with the new stack: 1.8.9 (or 1.9.1)
load(pathJoin("nccmp", os.getenv("nccmp_ver") or "1.8.9"))
A test with EPIC-managed stack has successfully completed on Hera. Test directory: /scratch1/NCEPDEV/nems/role.epic/sandbox/SRW/expt_dirs/test_gnu/grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16 |
d4ceeca
to
675f74b
Compare
@natalie-perlin Thank you very much for your review! I have made the suggested changes so that the Hera GNU modulefile will use the new EPIC maintained HPC-stack location. |
Machine: hera |
@MichaelLueken I don't think the GNU github actions labels work on either Hera or Jet. We will need to communicate with @venitahagerty to pass compiler options for
In the past it used only the first two, and i don't think it has been updated to use the others. |
@danielabdi-noaa Thanks for the heads up! Looking at the output from the github actions label, I see that it is being built using Intel rather than GNU. @venitahagerty How difficult is it to update the github actions so that the test will run using:
This way, we will be able to test both the Intel and GNU compilers on Hera moving forward. |
@natalie-perlin I see that the changes in ufs-weather-model PR #1468 have been merged. Would you like for me to update the Hera Intel modulefile to point to the new EPIC-maintained HPC-stack location as part of this PR as well? |
On a similar note, @danielabdi-noaa, would you like for me to merge your PR #479 work into this PR? This way, all modulefile and testing modifications for Hera can be completed with this single PR. |
@MichaelLueken Sure, please go ahead and merge them. |
675f74b
to
ea7511f
Compare
ea7511f
to
e76a718
Compare
e76a718
to
4d01087
Compare
@natalie-perlin I have updated both the @danielabdi-noaa I have merged your work from PR #479 into this PR. If there are any additional changes that you would like to see, please let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the changes, approving!
DESCRIPTION OF CHANGES:
Currently, the only machine that has a functioning GNU modulefile is Cheyenne. It has been noted that several developers don't have access to Cheyenne, so if there are issues with GNU compilers, it is difficult, if not impossible, to debug. All of the necessary libraries are available on Hera to compile the SRW App using
GNU 9.2.0
withMPICH 3.3.2
. A newbuild_hera_gnu.lua
modulefile has been created so that developers who can't access Cheyenne are still able to test their changes on another machine using the GNU compiler.The work that @danielabdi-noaa has done in PR #479 has also been merged into this PR so that fundamental tests are ready for the GNU compiler on Hera.
Updated
modulefiles/build_hera_intel.lua
to point to the new EPIC-maintained HPC-stack locations. Fundamental tests have been run and all successfully passed on Hera.Type of change
TESTS CONDUCTED:
The SRW App successfully compiled on Hera using GNU 9.2.0. Fundamental tests have successfully completed.
The SRW App successfully compiled using the new EPIC-maintained HPC-stack location for Intel. Fundamental tests have successfully completed.
ISSUE:
Completes #476
CHECKLIST
CONTRIBUTORS
@danielabdi-noaa - Created a fundamental test suite for Hera with GNU compiler.
@natalie-perlin - Setting up the EPIC-maintained HPC-stack locations on Hera.