-
Notifications
You must be signed in to change notification settings - Fork 36
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
Deprecate MPI without MPI I/O #171
Deprecate MPI without MPI I/O #171
Conversation
The enum offsets are only required for the deprecated case of activated MPI but deactivated MPI I/O.
Thanks. Will it be reasonable to integrate #172 first? |
Thanks! I'm just wondering whether the scda feature should do full error checking both with and without MPI. Is it necessary to document that we may abort? This limits community use. |
This is a very good point! I rechecked the code and without the deprecated case of MPI without MPI I/O we only have one file functions related abort. It is just a simple consistency check in
Therefore, we may want to remove the comments on the file system dependent aborts since there will be no aborts beyond simple consistency checks. |
Thanks! This might be all for this PR. When continuing working with SCDA, we may comment on other error conditions that may occur, mostly errors in the file contents encountered on reading. |
Are you generally happy with the state of our doxygen output? |
The doxygen output looks good to me. I adjusted the I/O page since it was still referring to the deprecated case with MPI but without MPI I/O. |
Cool let's see how this flies with the community once p4est updates its submodule. |
Deprecate MPI without MPI I/O
Proposed changes:
sc_io.h
.sc_io_{write,read}_at_legal
since they are only related to the deprecated configuration setup.sc_io_{write,read}_all
since it is unused and not conforming to the correspondingMPI_File
functions in any configuration setup.This draft PR would also profit from the changes in @cburstedde's branch https://github.com/cburstedde/libsc/tree/feature-disable-mpiio introducing warnings if the deprecated configuration setup is used.
Moreover, this draft PR relates to the issue #170 by not using
MPI_ERR_LASTCODE
in non-deprecated configuration setups.