Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
6b8cee70
Commit
6b8cee70
authored
May 10, 2014
by
Wesley Bland
Committed by
Junchao Zhang
Jul 31, 2014
Browse files
Don't check the tag if the coll op completed with error
Signed-off-by:
Junchao Zhang
<
jczhang@mcs.anl.gov
>
parent
05cb62bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpi/coll/helper_fns.c
View file @
6b8cee70
...
...
@@ -367,7 +367,7 @@ int MPIC_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag,
if
(
MPIR_TAG_CHECK_ERROR_BIT
(
status
->
MPI_TAG
))
{
*
errflag
=
TRUE
;
MPIR_TAG_CLEAR_ERROR_BIT
(
status
->
MPI_TAG
);
}
else
{
}
else
if
(
MPIX_ERR_REVOKED
!=
MPIR_ERR_GET_CLASS
(
status
->
MPI_ERROR
))
{
MPIU_Assert
(
status
->
MPI_TAG
==
tag
);
}
}
...
...
@@ -486,11 +486,11 @@ int MPIC_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
if
(
MPIR_TAG_CHECK_ERROR_BIT
(
status
->
MPI_TAG
))
{
*
errflag
=
TRUE
;
MPIR_TAG_CLEAR_ERROR_BIT
(
status
->
MPI_TAG
);
}
else
{
}
else
if
(
MPIX_ERR_REVOKED
!=
MPIR_ERR_GET_CLASS
(
status
->
MPI_ERROR
))
{
MPIU_Assert
(
status
->
MPI_TAG
==
recvtag
);
}
}
fn_exit:
MPIU_DBG_MSG_S
(
PT2PT
,
TYPICAL
,
"OUT: errflag = %s"
,
*
errflag
?
"TRUE"
:
"FALSE"
);
...
...
@@ -602,7 +602,7 @@ int MPIC_Sendrecv_replace(void *buf, int count, MPI_Datatype datatype,
if
(
MPIR_TAG_CHECK_ERROR_BIT
(
status
->
MPI_TAG
))
{
*
errflag
=
TRUE
;
MPIR_TAG_CLEAR_ERROR_BIT
(
status
->
MPI_TAG
);
}
else
{
}
else
if
(
MPIX_ERR_REVOKED
!=
MPIR_ERR_GET_CLASS
(
status
->
MPI_ERROR
))
{
MPIU_Assert
(
status
->
MPI_TAG
==
recvtag
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment