-
Notifications
You must be signed in to change notification settings - Fork 38
Improve partitioner unit tests #254
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
base: main
Are you sure you want to change the base?
Conversation
james-bruten-mo
left a comment
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.
rose-stem all good
stevemullerworth
left a comment
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.
Testing the branch infrastructure unit tests on the command line makes sense, and code looks OK. On merging on main, I get a failure with run_lfric_xios_integration_tests_azspice_gnu_64bit: the job.out looks fine, but the job.err reports an "unexpected error"
MatthewHambley
left a comment
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.
Presumed build system code owner's review. This looks fine, bumping the number of processes for the mpiexec is not a problem. I've made a drive-by comment on something else for the actual reviewers to consider.
| num_cells_ghost = partition%get_num_cells_ghost() | ||
| @assertEqual( 0, num_cells_ghost ) | ||
|
|
||
| case (3) |
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 appreciate that you're following the existing pattern, but if each of these tests are so different they may, in fact, be three different tests with different number of MPI processes. Rather than one run three times.
PR Summary
Sci/Tech Reviewer: None required
Code Reviewer: @stevemullerworth
I noted three deficiencies with the partition unit tests:
Code Quality Checklist
Testing
Test Suite Results - lfric_core - partition_test/run1
Suite Information
Task Information
✅ succeeded tasks - 372
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Code Review