X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0bae48b380e517bb520c8db2192b6694fdee2223..d0f67417a4047c5f844bb417daf8f4f1fa285f05:/teshsuite/smpi/mpich3-test/pt2pt/recv_any.c?ds=inline diff --git a/teshsuite/smpi/mpich3-test/pt2pt/recv_any.c b/teshsuite/smpi/mpich3-test/pt2pt/recv_any.c index c3db3e23c8..39e2f3d2cf 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/recv_any.c +++ b/teshsuite/smpi/mpich3-test/pt2pt/recv_any.c @@ -25,7 +25,7 @@ int main(int argc, char *argv[]) int rank = 0, nprocs = 0; int i = 0, x = 0, dst = 0, src = 0, tag = 0; MPI_Status stat; -#if TEST_NB +#ifdef TEST_NB MPI_Request req; #endif int sbuf[BUFSIZE], rbuf[BUFSIZE]; @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) for (x = 0; x < ITER; x++) { tag = x; if (rank == dst) { -#if TEST_NB +#ifdef TEST_NB MPI_Irecv(rbuf, sizeof(int) * BUFSIZE, MPI_CHAR, MPI_ANY_SOURCE, tag, MPI_COMM_WORLD, &req); MPI_Wait(&req, &stat);