diff --git a/src/clib/pio_spmd.c b/src/clib/pio_spmd.c index aee78f4d001..4b5fcc423cc 100644 --- a/src/clib/pio_spmd.c +++ b/src/clib/pio_spmd.c @@ -248,7 +248,6 @@ int pio_swapm(void *sndbuf, int sndlths[], int sdispls[], MPI_Datatype stypes CheckMPIReturn(MPI_Comm_size(comm, &nprocs),__FILE__,__LINE__); CheckMPIReturn(MPI_Comm_rank(comm, &mytask),__FILE__,__LINE__); -#ifndef OPEN_MPI if(max_requests == 0) { #ifdef DEBUG int totalrecv=0; @@ -260,11 +259,32 @@ int pio_swapm(void *sndbuf, int sndlths[], int sdispls[], MPI_Datatype stypes } printf("%s %d totalsend %d totalrecv %d \n",__FILE__,__LINE__,totalsend,totalrecv); +#endif +#ifdef OPEN_MPI + for(int i=0;i #include -#include "gptl.h" #include #define versno 2001