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

correct tasks calculation in rt.sh so rocoto workflow will run #1431

Conversation

SamuelTrahanNOAA
Copy link
Collaborator

@SamuelTrahanNOAA SamuelTrahanNOAA commented Sep 22, 2022

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

The $TASKS calculation in rt.sh is incorrect; the correct calculations are in run_tests.sh, which breaks the Rocoto workflow. This PR moves those calculations to rt_utils.sh so they can be called from both scripts.

It is unlikely this will affect any test on any platform, except when running the Rocoto workflow. However, it should be tested on all platforms with baseline generation just to be sure. To avoid wasting resources, this PR should be combined with another that requires new baselines.

Issue(s) addressed

Fixes #1430

Testing

Hera gnu using rocoto and ecflow.

  • hera.intel
  • hera.gnu - using ecflow and rocoto
  • orion.intel
  • cheyenne.intel
  • cheyenne.gnu
  • gaea.intel
  • jet.intel
  • wcoss2.intel
  • acorn.intel
  • opnReqTest for newly added/changed feature
  • CI

Dependencies

None.

@jkbk2004
Copy link
Collaborator

@SamuelTrahanNOAA we are trying to combine #1425 and #1418 to this PR. I am going to ask Jun and Ratko to create PRs to you branch. Is it ok for you ?

@SamuelTrahanNOAA
Copy link
Collaborator Author

No, I won't have time to test that today because I'm working on two urgent PRs for the RRFS (in a fork).

@jkbk2004
Copy link
Collaborator

No problem! I will merge in these PRs separately then.

@SamuelTrahanNOAA
Copy link
Collaborator Author

This PR is already in #1437 so you could merge it with that one.

@jkbk2004
Copy link
Collaborator

This PR is already in #1437 so you could merge it with that one.

That's the option. Thanks for the note.

@jkbk2004
Copy link
Collaborator

this pr was merged with #1437.

@jkbk2004 jkbk2004 closed this Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rt.sh $TASKS and $NODES are wrong, breaking rocoto workflow
2 participants