-
Notifications
You must be signed in to change notification settings - Fork 32
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
MPI_Irecv and MPI_Send use the same buffer at the same time #18
Comments
@mawi2017 Thank you for reporting this issue. If you have a proposed fix, please feel free to submit a pull-request for review. We would appreciate your assistance in this way. Thank you. Mike |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I ran miniFE's ref version with Intel MPI under the message checker from ITAC (Intel Trace Analyzer and Collector). The message checker detected issues LOCAL:MEMORY:OVERLAP and further LOCAL:MEMORY:ILLEGAL_MODIFICATION in
ref/src/make_local_matrix.hpp
where the same buffers are used for sending and receiving at the same time. From what I saw all other minFE's version should also be affected if they execute the corresponding code.The affected code from
ref/src/make_local_matrix.hpp
is in lines 257ff:If both loops have a trip count > 0 then some buffers pointed to by the
tmp_buffer
array are used at the same time for sending and receiving.The complete output and commands for reproducing:
If I use more then 2 processes, e.g. 72, then some OVERLAP warnings turn into ILLEGAL_MODIFICATION errors:
The text was updated successfully, but these errors were encountered: