[mpich2-commits] r9539 - mpich2/trunk/test/mpi/pt2pt
gropp at mcs.anl.gov
gropp at mcs.anl.gov
Mon Feb 27 11:42:35 CST 2012
Author: gropp
Date: 2012-02-27 11:42:35 -0600 (Mon, 27 Feb 2012)
New Revision: 9539
Modified:
mpich2/trunk/test/mpi/pt2pt/mprobe.c
Log:
Include mpitest.h, which includes mpitestconf.h, where USE_STRICT_MPI may be set, and only declare MPIX_Message when MPROBE testing enabled
Modified: mpich2/trunk/test/mpi/pt2pt/mprobe.c
===================================================================
--- mpich2/trunk/test/mpi/pt2pt/mprobe.c 2012-02-27 17:16:26 UTC (rev 9538)
+++ mpich2/trunk/test/mpi/pt2pt/mprobe.c 2012-02-27 17:42:35 UTC (rev 9539)
@@ -8,6 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include "mpi.h"
+#include "mpitest.h"
/* This is a temporary #ifdef to control whether we test this functionality. A
* configure-test or similar would be better. Eventually the MPI-3 standard
@@ -34,7 +35,9 @@
int rank, size;
int sendbuf[8], recvbuf[8];
int count;
+#ifdef TEST_MPROBE_ROUTINES
MPIX_Message msg;
+#endif
MPI_Request rreq;
MPI_Status s1, s2;
More information about the mpich2-commits
mailing list