-
Notifications
You must be signed in to change notification settings - Fork 46
[rrfs-mpas-jedi] Updates for running rrfs-workflow on WCOSS2 #803
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
Merged
MatthewPyle-NOAA
merged 22 commits into
NOAA-EMC:rrfs-mpas-jedi
from
SamuelDegelia-NOAA:feature/wcoss2_run
May 27, 2025
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e9f3717
Initial commit for running on WCOSS2
758439c
Use mpiexec for submitting fcst job and update NODES/PPN calculation
de0fb83
Add MPASSIT workaround and update MPI_RUN_CMD for all jobs on WCOSS2
cc2590e
Revert changes to forecast script
373074e
Fix linter error
2c3ba90
Load cray-pals in launch.sh since rrfs/wcoss2.intel.lua is not loaded…
bebda91
Add UPP workaround (loads libjpeg, libfabric) needed to run
0f6725d
Unset some module versions to prevent issues with submodules
c14f377
Dont set exclusive tag for wcoss2
aee919d
Update exp configs with new path to staged data on WCOSS2
3e02285
Update unset.ver
8d879cc
Remove old comments
6ada96d
Add workaround for loading python modules for offline domaim check
0b08e2f
Remove temporary workarounds, load UPP modules in launch.sh
6a21f9d
Fix linter error
f32978a
Fix more linter errors
afb9620
One more linter fix
d61ccee
Move Makefile workaround under WCOSS2 if-block
e339018
Clean up launching UPP task
3adcde6
Add context for MPAS-Model workaround on WCOSS2
657717a
Switch order of sourcing config files and set exclusive tag by machin…
cdeb8ed
Merge branch 'rrfs-mpas-jedi' into feature/wcoss2_run
MatthewPyle-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
-- -*- lua -*- | ||
-- Module file created by spack (https://github.com/spack/spack) on 2025-01-27 23:01:25.166951 | ||
-- | ||
-- [email protected]%[email protected]~ipo build_system=cmake build_type=Release generator=make arch=linux-rocky8-haswell/4vpcrpl | ||
-- | ||
|
||
whatis([[Name : prod-util]]) | ||
whatis([[Version : 2.1.1]]) | ||
whatis([[Target : haswell]]) | ||
whatis([[Short description : Product utilities for the NCEP models.]]) | ||
|
||
help([[Name : prod-util]]) | ||
help([[Version: 2.1.1]]) | ||
help([[Target : haswell]]) | ||
help() | ||
help([[ Product utilities for the NCEP models. This is part of NOAA's NCEPLIBS | ||
project.]]) | ||
|
||
|
||
prepend_path("PATH", "/apps/ops/prod/nco/core/prod_util.v2.0.14/ush", ":") | ||
prepend_path("CMAKE_PREFIX_PATH", "/apps/ops/prod/nco/core/prod_util.v2.0.14/.", ":") | ||
setenv("prod_util_ROOT", "/apps/ops/prod/nco/core/prod_util.v2.0.14") | ||
setenv("MDATE", "/apps/ops/prod/nco/core/prod_util.v2.0.14/exec/mdate") | ||
setenv("NDATE", "/apps/ops/prod/nco/core/prod_util.v2.0.14/exec/ndate") | ||
setenv("NHOUR", "/apps/ops/prod/nco/core/prod_util.v2.0.14/exec/nhour") | ||
setenv("FSYNC", "/apps/ops/prod/nco/core/prod_util.v2.0.14/exec/fsync_file") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# machine-specific settings | ||
# | ||
topdir=topdir_not_defined | ||
export COMINgfs=${COMINgfs:-"${topdir}/GFS"} | ||
export COMINrap=${COMINrap:-"${topdir}/RAP"} | ||
export COMINgefs=${COMINgefs:-"${topdir}/GEFS"} | ||
export COMINrrfs=${COMINrrfs:-"/COMINrrfs_not_defined"} | ||
export COMINhrrr=${COMINhrrr:-"/COMINhrrr_not_defined"} | ||
# | ||
export OBSINprepbufr=${OBSINprepbufr:-"${topdir}/obs_rap"} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I feel like these definitions of things like NDATE and FSYNC shouldn't be needed for WCOSS2. If the prod_util module is loaded, they should be available. Or is something different with the spack libraries?
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.
I just kept the same method for loading the
prod_util
commands that we used for the other machines. This modulefile manually defines these variables. But it does look like we could just loadprod_util
through spack-stack (or as a default module such as available on WCOSS2) and these commands and variables would be available without needing this extramodulefile/prod_util
directory.@guoqing-noaa Do you know why we went with this method that manually defines the
NDATE
etc. variables instead of just loadingprod_util
through spack-stack?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.
@MatthewPyle-NOAA and @SamuelDegelia-NOAA
As @SamuelDegelia-NOAA mentioned, the wcoss2.lua is essentially a copy of the original prod_util lua file of whatever available on each platform.
I did not recall all the details. But I think the reason to load this separately is that we only want to load modules as needed. The workflow only uses
err_exit
,err_chk
,NDATE
,cpreq
from the prod_util, so we don't need any module dependencies in the originalprod_util
. Also, I think we will load a few extra modules if we load prod_util directly from the spack-stack.We may revisit this solution in the future. Thanks!
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.
Thanks for the explanations, @SamuelDegelia-NOAA and @guoqing-noaa