Skip to content
Snippets Groups Projects
Commit 94da8164 authored by Simon Schwitanski's avatar Simon Schwitanski :slight_smile:
Browse files

Fix wrong error marker for Imrecv local concurrency tests

This marks `MPI_Imrecv` as error source instead of the `MPI_Mprobe` call for the local concurrency issue.
parent fa35a254
No related branches found
No related tags found
1 merge request!24Fix wrong error marker for Imrecv local concurrency tests
......@@ -55,9 +55,14 @@ class LocalConcurrencyErrorP2P(ErrorGenerator):
if check_receive:
kind = 0
conflicting_inst.set_rank_executing(kind)
if recv_func != "mpi_imrecv":
for c in tm.get_instruction("MPICALL", return_list=True):
if c.get_rank_executing() == kind:
c.set_has_error()
else:
tm.get_instruction("MATCHEDRECEIVE").set_has_error()
for c in tm.get_instruction("WAIT", return_list=True):
if c.get_rank_executing() == kind:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment