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

Reorganize restart tests #3351

Merged
merged 2 commits into from
Oct 3, 2024
Merged

Reorganize restart tests #3351

merged 2 commits into from
Oct 3, 2024

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Oct 1, 2024

This PR enables MPI tests for restarts and changes a little bit the structure of the restart test. I changed the order of things because I need to add more complex cases, but I don't want to add more nesting levels. Now, I can push more tests to the test dict directly.

@Sbozzolo Sbozzolo force-pushed the gb/automatic_restart branch 4 times, most recently from 0b384a9 to 9194803 Compare October 1, 2024 20:10
@Sbozzolo Sbozzolo changed the title Add support for MPI in restart tests Add test for MPI in restart tests Oct 1, 2024
Copy link
Member

@charleskawczynski charleskawczynski left a comment

Choose a reason for hiding this comment

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

Looks good!

@Sbozzolo Sbozzolo force-pushed the gb/automatic_restart branch 3 times, most recently from 9cd858b to 314a070 Compare October 2, 2024 17:01
@Sbozzolo Sbozzolo enabled auto-merge October 2, 2024 21:07
@Sbozzolo Sbozzolo force-pushed the gb/automatic_restart branch 4 times, most recently from 5e2d199 to 67fdec3 Compare October 3, 2024 15:51
@Sbozzolo Sbozzolo changed the title Add test for MPI in restart tests Reorganize restart tests Oct 3, 2024
@Sbozzolo
Copy link
Member Author

Sbozzolo commented Oct 3, 2024

GPU + MPI also timed out a couple of times. I removed it and will work on it next.

@Sbozzolo Sbozzolo force-pushed the gb/automatic_restart branch from 67fdec3 to 55b4f62 Compare October 3, 2024 18:48
I changed the order of operations: first, I prepare all the
`test_dicts`, then, I test all of them. This is so that I can add more
`test_dict`s without adding more nesting levels.

This commit also adds a check for NCDatasets. NCDatasets contain several
stateful objects, so we ignore them in the comparison.
@Sbozzolo Sbozzolo force-pushed the gb/automatic_restart branch from 55b4f62 to 17c0c81 Compare October 3, 2024 21:06
@Sbozzolo Sbozzolo added this pull request to the merge queue Oct 3, 2024
Merged via the queue into main with commit d4cb583 Oct 3, 2024
16 checks passed
@Sbozzolo Sbozzolo deleted the gb/automatic_restart branch October 3, 2024 23:28
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.

2 participants