[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-55-g1f53290
Service Account
noreply at mpich.org
Tue Mar 18 17:02:06 CDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via 1f532907778162971e6bf51b754b68c95861cd66 (commit)
from cfe6626bb15dea1530d30388506977ca8534c2a5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/1f532907778162971e6bf51b754b68c95861cd66
commit 1f532907778162971e6bf51b754b68c95861cd66
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date: Tue Mar 18 14:39:54 2014 -0500
macro fix in datatype test
The suncc compiler on Linux did not like the ternary conditional
operands having different types.
No reviewer.
diff --git a/test/mpi/datatype/large_type_sendrec.c b/test/mpi/datatype/large_type_sendrec.c
index 4b56f37..a697ef5 100644
--- a/test/mpi/datatype/large_type_sendrec.c
+++ b/test/mpi/datatype/large_type_sendrec.c
@@ -44,7 +44,7 @@ static void verbose_abort(int errorcode)
return;
}
#define MPI_ASSERT(rc) \
- ((void) ((rc==MPI_SUCCESS) ? 0 : verbose_abort(rc) ))
+ do { if ((rc)!=MPI_SUCCESS) verbose_abort(rc); } while (0)
int Type_contiguous_x(MPI_Count count, MPI_Datatype oldtype,
MPI_Datatype * newtype);
-----------------------------------------------------------------------
Summary of changes:
test/mpi/datatype/large_type_sendrec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list