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

p4est_file: Accept new MPI error codes #241

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

tim-griesbach
Copy link
Collaborator

@tim-griesbach tim-griesbach commented Sep 28, 2023

p4est_file: Accept new MPI error codes

Currently, the function p4est_file_error_code does not accept MPI error codes that we do not expect according to our wrapped MPI error codes. However, error codes depend on the concrete MPI implementation and in particular newer MPI implementation may cause returning error codes that can not be interpreted in the current way , which currently leads to an abort.

Proposed changes: Instead of calling SC_ABORT_NOT_REACHED () in the case of an unkown error code we always translate such error codes to P{4,8}EST_FILE_ERR_UNKOWN.

@tim-griesbach
Copy link
Collaborator Author

I rebased the branch to remove the libsc update from this PR.

@cburstedde cburstedde merged commit 0907e3e into cburstedde:develop Oct 2, 2023
18 checks passed
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