[develop] Replace TCL modulefiles with Lua counterparts#413
Conversation
9da7c4e to
f52f5ea
Compare
f52f5ea to
3a5b4f7
Compare
|
Machine: jet |
4ece465 to
c04a310
Compare
|
@danielabdi-noaa It looks like there has been another update on Hera, this time to the nccmp library. This update requires that netcdf be loaded before the nccmp library can be loaded. This update appears to have gone in about an hour and a half ago. This will cause the SRW to fail to build on Hera. Since you are still testing on Hera, I just wanted to bring this to your attention. |
|
@MichaelLueken Thank!. Yes, I can confirm that I am not able to load |
9fab121 to
2ed2202
Compare
|
@chan-hoo Are you able to test this on wcoss2? CIs don't cover wcoss2, and I've already made a couple of mistakes with the wcoss2 modulefiles. So it would be great if you can test this on wcoss2 by running one test case. |
2ed2202 to
c81ccf1
Compare
MichaelLueken
left a comment
There was a problem hiding this comment.
The fundamental tests were run on Hera and all passed successfully. I will go ahead and approve these changes, but I would hold off on merging this until @chan-hoo has had an opportunity to run a test on WCOSS2 (since the Jenkins CI don't run on WCOSS2).
|
This PR failed on Orion and Cheyenne. The former was tested with pre-built binaries so I did not notice the issue with the incorrect cmake version in the build modulefile. I've no made the build manually on Orion and made sure it builds SRW app properly, so the fix should fully resolve the Orion issue. |
|
I can not tell what version of Lmod is present on Cheyenne, but the |
39b237d to
d816eed
Compare
d816eed to
1b1d40a
Compare
|
Cheyenee has Lmod version |
|
@danielabdi-noaa Unfortunately, Cheyenne is down for maintenance this week. Once the machine comes back, I will be able to kick off the Jenkins fundamental tests for Cheyenne. The Jenkins tests for Orion were resubmitted and successfully passed. Once Cheyenne and WCOSS2 have been tested, this work should be ready. |
|
@danielabdi-noaa @MichaelLueken, Sorry! I missed your request. I'll test it on wcoss2 today. |
|
|
||
| if mode() == "load" then | ||
| LmodMsgRaw([===[Please do the following to activate conda: | ||
| > conda activate regional_workflow |
There was a problem hiding this comment.
@danielabdi-noaa, can you remove this if-statement? On wcoss2, conda is not available.
|
@danielabdi-noaa, it works well on wcoss2. Once you remove the if-statement in wflow_wcoss2 I pointed out, I'll approve this pr. |
|
@chan-hoo Thanks for testing! I've made the changes you requested. |
|
The Jenkins CI tests have successfully passed for Cheyenne. This work is ready to be merged. |
|
|
||
| if mode() == "load" then | ||
| LmodMsgRaw([===[Please do the following to activate conda: | ||
| > conda activate regional_workflow |
There was a problem hiding this comment.
This line does not work on Cheyenne. The full path must be provided.
conda activate /glade/p/ral/jntp/UFS_SRW_app/conda/regional_workflow
There was a problem hiding this comment.
I have opened PR #424 to fix this issue; not urgent since it is only a display problem but it should get in before the minor release.
DESCRIPTION OF CHANGES:
This PR mainly addresses issue #410
Moreover,
Type of change
TESTS CONDUCTED:
Run fundamental tests on Jet, Hera and Orion successfully.
For the rest, I did only sanity check to see if there are any syntax errors -- so actual testing with Jenkins is crucial here.
DEPENDENCIES:
DOCUMENTATION:
ISSUE:
CHECKLIST
LABELS (optional):
A Code Manager needs to add the following labels to this PR:
CONTRIBUTORS (optional):
@MichaelLueken