-
Notifications
You must be signed in to change notification settings - Fork 60
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
MpiInt is wrong and should be removed #83
Comments
@jeffhammond @albandil @langou
|
|
Suggestion: This way, we gain two folds.
I compiled a list of MPI function that are called from BLACS and it seems there is about 41 functions that need wrappers. MPI_Barrier MPI_Allreduce MPI_Comm_f2c MPI_Unpack |
From #19 (comment):
Sorry, but this is just wrong. The MPI standard uses
int
and no other type is conforming. There is no scenario involving a valid implementation of MPI whereMpiInt
should ever be used.The MPI standard has
MPI_Fint
specifically to ensure compatibility with the MPI Fortran library, and only this type should be used for this purpose.I don't have strong feelings about
Int
butMpiInt
should be removed. Its existence is dangerous and unnecessary.The text was updated successfully, but these errors were encountered: