-
Notifications
You must be signed in to change notification settings - Fork 154
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
Updated detect_machine.sh to be consistent with UFSWM. #691
Updated detect_machine.sh to be consistent with UFSWM. #691
Conversation
Hera test
GSI has two modulefiles on Hera:
Add the above scripting to
The modified @HenryWinterbottom-NOAA , would you please commit this change to your branch, |
WCOSS2 ctests
Not really necessary to run ctests since this PR only changes how the machine is detected for the build. Since the build successfully completed on WCOSS2 (Cactus), this is sufficient. However, it is good to see that all ctests pass as expected. |
Confirm that builds on Orion and Hercules work as intended with the changes found in this PR. |
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.
detect_machine.sh
works as intended but we also need to modify ush/build.sh
as described in the comments.
@HenryWinterbottom-NOAA , what is the status of this PR? Two items:
We should be able to move forward with this PR once items 1 and 2 are addressed. |
@RussTreadon-NOAA It should all be updated now. |
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.
the changes here look right.
however, the ush/sub_
scripts will also need updating to include the compiler intel
in them.
I am not sure how this impacts the GSI regression tests, but since there is no change to code, modulefile contents, I expect no change to RT results.
I will wait to approve until the ush/sub_
scripts are updated.
Thank you @HenryWinterbottom-NOAA for the update. Question: Is adding the compiler to the name of the modulefile something we plan on doing across all repositories cloned by global-workflow? |
@RussTreadon-NOAA |
While one would expect
This is problematic but @aerorahul identified the real problem we now face with this PR. With the change in the name of the GSI modulefiles, ctests will fail since the machine specific
If we want to fully pivot to My two cents is to open a future GSI issue and PR in which GSI regression tests are refactored. The checks in the current suite of tests need to be updated to be more meaningful and robust. Some of the current checks often generate false positives (ie, the ctest fails but not for a fatal reason). We also need to update the actual tests. I'm not sure how well each test actually reflects what we currently run in operations in terms of configuration and observations. Only two out of the seven GSI ctests are global. A future refactoring of GSI ctests will require close coordination with regional DA teams. |
I don't think we need to refactor the regression tests for this. The issue of regression testing against My 2c would be to merge this and leave the regression testing elephant for another day. |
Whatever works for the g-w team works for me. It's entirely possible that the GSI ctests will never be refactored. No one wants to tackle that elephant. |
…Winterbottom-NOAA/GSI into feature/gsi_enkf_issue_690
@RussTreadon-NOAA I made the changes to the @RussTreadon-NOAA @aerorahul I apologize for my delayed responses to the PR comments. For whatever reason GitHub is not sending me an email WRT to this repo. |
Adding |
WCOSS2 (Cactus) ctest
|
Hera ctest Repeat Cactus test on Hera with following results
The global_enkf test failed due to the maximum threshold time check
A check of the
This is not a fatal fail. |
Orion ctest
The hafs_4denvar_glbens test failed due to the maximum threshold time check
A check of the
GSI ctests run in the |
Normally we ask the PR assignee to run ctests. I don't know if you, @HenryWinterbottom-NOAA, have run GSI ctests before. Hence my running the tests and reporting results in this PR. If you plan on opening future GSI PRs, it would be good to learn how to run GSI ctests. We need two peer reviewers for this PR. Who would you like to review this PR. I am the handling reviewer for this PR. Thus, I can't serve as a peer reviewer. |
OK I see @aerorahul as a reviewer. This is sufficient along with @BrianCurtis-NOAA |
@RussTreadon-NOAA Thank you for the review. And, yes, moving forward I will run and report the results of the ctests. Thank you, again. |
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.
Changes have been tested on WCOSS2 (Cactus), Hera, and Orion. Build and ctests work as expected.
Approve
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.
Looks good.
Thank you @aerorahul and @BrianCurtis-NOAA for your reviews and @HenryWinterbottom-NOAA for this PR. I'll cross check with the GSI Handling review team and merge this PR into |
DUE DATE for merger of this PR into
develop
is 3/6/2024 (six weeks after PR creation).Description
This PR addresses issue #690. The following is accomplished:
ush/detect_machine.sh
is replaced by the UFS weather-modeltests/detect_machine.sh
prepared by @BrianCurtis-NOAACloses #690.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
CI/CD will test change.
Checklist