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

Series of small WCOSS2 updates - round 8 #605

Conversation

KateFriedman-NOAA
Copy link
Member

Description

This PR brings in some changes for the WCOSS2 port:

  1. Add NTASKS_gfs support in WCOSS2.env (for waveprep job that needs to run with different # of tasks in gfs suite compared to gdas suite - need to update wave scripts to not use NTASKS in future work, this is just a patch for WCOSS2 ops).
  2. Remove unneeded COMINice and COMINwnd from jobs/JGLOBAL_WAVE_POST_SBS.
  3. Add support for gfs suite memory settings in ush/rocoto/workflow_utils.py, previously only accepted one memory setting for both gdas and gfs suite versions of a job, now users can set memory separately between the gdas and gfs suite versions of the same job. This aligns with similar support for the other resource variables.
  4. Add missing get_awipsgroups function to setup_workflow_fcstonly.py.
  5. Add COMIN_OBS and COMIN_GES_OBS in config.base.emc.dyn to properly set both variables when run in emc/dev mode. These two variables will be set via compath.py in NCO mode so this change is only to support emc/dev mode users. Will be working to change this in the future, want to use compath.py everywhere and not need emc/nco mode checks.
  6. Add rocoto xml envars for GDATE, GDUMP, gPDY, and gcyc. This supports the new COMIN_GES_OBS variable, which needs to be built off of these variables before being used. This aligns with similar support in the rocoto xml for setting the CDATE, CDUMP, PDY, cyc variables used by all jobs.

Refs: #398, #399

Type of change

Port updates and maintenance.

How Has This Been Tested?

By rerunning affected jobs in test on Dogwood.

- remove COMINice and COMINwnd from JGLOBAL_WAVE_POST_SBS
- wave developer confirmed they are no longer used/needed

Refs: NOAA-EMC#399
- update the memory setting in the get_resources block of
workflow_utils.py to accept a separate gfs memory value
- this change now allows gfs suite jobs to set different memory
requirements compared to the gdas suite version of the job
- this aligns the memory setting with how other resource values are
differentiated between the suites

Refs: NOAA-EMC#399
- add the missing get_awipsgroups function into the fcstonly version of
the setup_workflow script (setup_workflow_fcstonly.py)
- needed to add gfsawips jobs to xml in fcstonly mode

Refs: NOAA-EMC#399
- remove unneeded MP_PULSE=0 setting; it's set in JJOB script
- add if-block to set NTASKS=$NTASK_gfs if CDUMP=gfs; this allows
waveprep to run with different # of tasks in gfs suite compared to gdas
suite settings

Refs: NOAA-EMC#399
- add COMIN_OBS/COMIN_GES_OBS setting to config.base.emc.dyn for running
analysis/enkf jobs in emc/dev mode; NCO mode uses compath.py in ops
- COMIN_OBS/COMIN_GES_OBS needs to be set before use when in emc/dev
mode
- to support COMIN_GES_OBS setting in config.base values of GDATE, gPDY,
gcyc, and GDUMP need to be set before config.base is read, therefore
have added
GDATE/gPDY/gcyc/GDUMP to generated rocoto xml envvars
- CDUMP/PDY/cyc/CDUMP already in rocoto xml for similar job support
- these changes should not impact NCO mode in ops, only emc/dev mode

Refs: NOAA-EMC#399
@KateFriedman-NOAA KateFriedman-NOAA added the port Porting the system to a new platform label Jan 25, 2022
@KateFriedman-NOAA KateFriedman-NOAA self-assigned this Jan 25, 2022
Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most changes look good.
I have a couple of questions.

@aerorahul aerorahul self-requested a review January 25, 2022 19:18
@KateFriedman-NOAA KateFriedman-NOAA merged commit ee2c417 into NOAA-EMC:feature/ops-wcoss2 Jan 25, 2022
@KateFriedman-NOAA KateFriedman-NOAA deleted the feature/ops-wcoss2_fixes branch January 25, 2022 19:19
kayeekayee pushed a commit to kayeekayee/global-workflow that referenced this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port Porting the system to a new platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants