-
Notifications
You must be signed in to change notification settings - Fork 259
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
Convert modulefiles to .lua format on WCOSS2, acorn, hera, jet, orion, cheyenne #1376
Conversation
How is this PR supposed to work on Gaea? I see you deleted the ufs_common and ufs_common_debug Tcl/Tk environment modules but didn't make any updates to the Gaea module files. Note that spack-stack will only support native Tcl/Tk env modules on Gaea in order to remove the nasty hack to use lua modules there (which has caused headaches for many people). |
I can update/test the lua formatted module file on S4. |
I am getting
However, the name of the new module files end with |
…ll load it for non-gaea machines
@DavidHuber-NOAA I think I got all bugs squared away. Please try again. |
@DavidHuber-NOAA Now that I read back your comments today. Should I convert s4 to .lua format? I think I made an incorrect assumption that s4 should stay tcl. |
Note for the near future (hopefully!): we now have a spack-stack install on S4, which is using |
@BrianCurtis-NOAA I can change that when I commit the S4 .lua module files, so that's not a problem. That said, there is a similar bug in run_test.sh. When run_test.sh attempts to copy over the modulefile copied by compile.sh to the tests/ directory, it needs a .lua extension for systems supporting lua modulefiles (see line 150). @DomHeinzeller I would be good with giving spack-stack a whirl when the UFS is ready for it on S4. |
@DavidHuber-NOAA I did not see the same issue with run_test.sh on the other machines i tested on, and i'm not saying it doesn't exist on s4, but please update to the latest changes and let me know if they work for you. |
@BrianCurtis-NOAA I gave this another go on S4 and received the same error. I also gave it a shot on Orion where I am also seeing the same error. On Orion, I ran rt.sh as follows:
The name of the modulefile in the tests/ directory is "modules.fv3_001.lua" rather than "modules.fv3_001", which I believe is the source of this error. I ran rt.sh here: /work/noaa/nesdis-rdo2/dhuber/ufs_lua/tests |
@DavidHuber-NOAA Thanks! I don't normally run |
@DavidHuber-NOAA First off, thanks for helping test on S4. I have implemented a fix that i tested on Gaea/Orion successfully. Please test again on S4 if you can. |
@BrianCurtis-NOAA Yes, it's working for me now on S4. Thanks! I'll open a PR into your fork shortly. |
Convert S4 modulefiles to Lua
@DavidHuber-NOAA It must be Friday. I had those changes in my Orion test and never pushed them to the repo. Apologies and thanks for the work! I think we'll get this into UFS ASAP. |
@BrianCurtis-NOAA we can take time. we can combine this PR with #1383 next Tuesday. |
Rahul needs complete .lua change. Meaning we'll need to edit compile.sh and run_test.sh to reflect these changes. |
@BrianCurtis-NOAA so we need to move on to #1383 without combining, right? |
* acorn and common .lua changes, hera.intel (not hera.gnu) .lua changes * CMake_Platform --> CMAKE_Platform * jet and wcoss2 .lua changes, cheyenne.gnu/intel lua updates, orion lua updates, typo in jet.lua files, Orion fixes for .lua files * Set proper number of non-advected tracers in regional_atmaq regression test. * Add proper convective scavenging coefficients to the regional_ataqm regression test. * Update ufs_s4.intel.lua, Update ufs_s4.intel_debug.lua
PR Checklist
This PR is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR. Please consult the ufs-weather-model wiki if you are unsure how to do this.
This PR has been tested using a branch which is up-to-date with the top of all sub-component repositories except for those sub-components which are the subject of this PR
An Issue describing the work contained in this PR has been created either in the subcomponent(s) or in the ufs-weather-model. The Issue should be created in the repository that is most relevant to the changes in contained in the PR. The Issue and the dependent sub-component PR
are specified below.
Results for one or more of the regression tests change and the reasons for the changes are understood and explained below.
New or updated input data is required by this PR. If checked, please work with the code managers to update input data sets on all platforms.
Description
NCO prefers lua modules an UFS got a pass for WCOSS2. This will make WCOSS2, acorn, hera, jet, orion and Cheyenne follow .lua modules.
Issue(s) addressed
Testing
Dependencies
None