X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6f2e9113097b642198bdf52fc3a85a5593fa17cd..c959b78d069b04215c9f6af8988cffc7e41be398:/teshsuite/smpi/isp/umpire/op-no-error.c diff --git a/teshsuite/smpi/isp/umpire/op-no-error.c b/teshsuite/smpi/isp/umpire/op-no-error.c index 1cf7bb7857..41d5864c04 100644 --- a/teshsuite/smpi/isp/umpire/op-no-error.c +++ b/teshsuite/smpi/isp/umpire/op-no-error.c @@ -20,8 +20,8 @@ typedef struct { double real, imag; } Complex; -void -myProd (void *inp, void *inoutp, int *len, MPI_Datatype *dptr) +void +myProd (void *inp, void *inoutp, int *len, MPI_Datatype *dptr) { int i; Complex c; @@ -44,7 +44,7 @@ main (int argc, char **argv) { int nprocs = -1; int rank = -1; - int comm = MPI_COMM_WORLD; + MPI_Comm comm = MPI_COMM_WORLD; int i; char processor_name[128]; int namelen = 128; @@ -61,16 +61,16 @@ main (int argc, char **argv) MPI_Barrier (comm); - for (i = 0; i < OP_COUNT; i++) + for (i = 0; i < OP_COUNT; i++) MPI_Op_create (myProd, 1, &newop[i]); - for (i = 0; i < OP_COUNT; i++) + for (i = 0; i < OP_COUNT; i++) MPI_Op_free (&newop[i]); MPI_Barrier (comm); /* now with an alias... */ - for (i = 0; i < OP_COUNT; i++) + for (i = 0; i < OP_COUNT; i++) MPI_Op_create (myProd, 1, &newop[i]); for (i = 0; i < OP_COUNT; i++) {