X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c81c99a491282f76757c2673961e3cdee6853539..550e68e2d3bb08b56b4c900ba701e07f38882b19:/teshsuite/smpi/mpich3-test/coll/nonblocking.c diff --git a/teshsuite/smpi/mpich3-test/coll/nonblocking.c b/teshsuite/smpi/mpich3-test/coll/nonblocking.c index f30d81328e..d520ba11ec 100644 --- a/teshsuite/smpi/mpich3-test/coll/nonblocking.c +++ b/teshsuite/smpi/mpich3-test/coll/nonblocking.c @@ -12,9 +12,6 @@ #include "mpi.h" #include #include -#include "mpitest.h" -/* USE_STRICT_MPI may be defined in mpitestconf.h */ -#include "mpitestconf.h" #define NUM_INTS (2) @@ -23,6 +20,7 @@ if (!(cond_)) { \ fprintf(stderr, "assertion (%s) failed, aborting\n", #cond_); \ MPI_Abort(MPI_COMM_WORLD, 1); \ + exit(1); \ } \ } while (0) @@ -51,7 +49,6 @@ int main(int argc, char **argv) MPI_Comm_size(comm, &size); MPI_Comm_rank(comm, &rank); -#if !defined(USE_STRICT_MPI) && defined(MPICH) /* enough space for every process to contribute at least NUM_INTS ints to any * collective operation */ sbuf = malloc(NUM_INTS*size*sizeof(int)); @@ -132,8 +129,6 @@ int main(int argc, char **argv) MPI_Iexscan(sbuf, rbuf, NUM_INTS, MPI_INT, MPI_SUM, comm, &req); MPI_Wait(&req, MPI_STATUS_IGNORE); -#endif - if (sbuf) free(sbuf); if (rbuf) free(rbuf); if (scounts) free(scounts);