-
Notifications
You must be signed in to change notification settings - Fork 30
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
Utilize jobid variable for non-DA tasks #512
Utilize jobid variable for non-DA tasks #512
Conversation
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.
Made the same comment on a couple of files, then realized it applied to more (but didn't keep adding the same comment). Just making sure that some of the conditional definitions of jobid being removed either isn't needed, or is covered in other ways.
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.
Just to double check, the taskid coming in will cover all of the flavors of runs (spinup, ensemble) being defined in the jobid defining block being removed?
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.
Yes. The taskid (and eventually $job) variable that is defined at the job card level will be able to handle all different scenarios (spinup, ensemble, etc.). I started doing this in FV3LAM_wflow.xml for the DA tasks which will run for the different configurations.
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.
Same question as for JRRFS_FORECAST - assuming the taskid definition will handle the DO_ENSEMBLE true/false cases okay?
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.
Approving after getting confirmation that the removed script logic won't cause any harm.
DESCRIPTION OF CHANGES:
<jobname>
tag in Rocoto (and whatever the equivalent is in ecflow), and $PBS_JOBID is a sequence of letters/numbers that is specific to each individual task. In this PR, we introduce a temporary variable called $taskid which is defined at the job card level in the Rocoto xml, and is passed into the J-jobs where $jobid is set and used to define the run directory ($DATA=$DATAROOT/$jobid).com
,umbrella
,$DATA
#498 then we can shift to using $jobid = $job.$PBS_JOBID everywhere, and the temporary $taskid variable will be removed.TESTS CONDUCTED:
Completed successful non-DA engineering and fire weather tests.
Machines/Platforms:
Test cases:
ISSUE: