-
Notifications
You must be signed in to change notification settings - Fork 75
Use MPI_Count for MpiInt only when appropriate #149
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
base: master
Are you sure you want to change the base?
Use MPI_Count for MpiInt only when appropriate #149
Conversation
I believe that the best approach is not to pay attention to the original use of |
I noticed these things and I hinted to them with my "I believe I've seen a couple of places where it isn't", but I have not payed too much attention to them yet. I will. As such, it may be easier to just scrap the existing MpiInt occurrences and create new ones for count only, I see that. I think we are in the same page here.
I am not sure I understand correctly what you are saying here.
Do you have any objections? I believe this is the same thing suggested in #83 (comment) (but there it wasn't so explicit, hence I'm not totally sure of the original poster intentions). |
No objections, this sounds good to me. My unclear comment about removing |
This is follow-up on #83 and of course for now it's just a talking point not something anywhere close to be merged. I'm putting it out there to start the conversation with something explicit in front of people, to get constructive criticism, before embarking myself in the full work to implement it (in a possibly broken way)
With that attitude, let me start with some questions @jeffhammond and @albandil
MPIX_*and the MPI4'sMPI_*_cinvocations. I have only experimented with toy examples for both so please don't blindly assume I'm doing the right thing (TM)MpiIntis correctly implemented among the code and I believe I've seen a couple of places where it isn't (but even if it were, it obviously it has never been tested, so "by default" I assume there is at least a bug somewhere until someone or I proves otherwise). As such, part of the work of this PR will definitely include double checking all existing instances ofMpiIntas well as the provenance of all thecountfields for all MPI invocations. I haven't checked yet if this needs to involve Fortran too.