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

Improve error handling for open files for clock file and mesh file #642

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sebastianbeyer
Copy link
Collaborator

Make a proper error message with the path where the file was expected and do proper mpi_abort.

@sebastianbeyer sebastianbeyer added the enhancement New feature or request label Oct 26, 2024
@sebastianbeyer sebastianbeyer self-assigned this Oct 26, 2024
@sebastianbeyer sebastianbeyer marked this pull request as ready for review October 30, 2024 06:54
@sebastianbeyer
Copy link
Collaborator Author

What do you say, @JanStreffing ? Is it enough to check the rpart.out file, or should we add checks to every file (It would be nice to check everything, but it means a lot of additional code)?

Make a proper error message with the path where the file was
expected and do proper mpi_abort.
@trackow
Copy link
Contributor

trackow commented Dec 3, 2024

I think checking for the presence of the rpart.out file should cover a majority of issues in the IFS-FESOM context when running on different machines ;) Maybe just checking for the presence of the right distXXX folder could already be enough.

Also great to see that you check for the presence of the clock file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants