X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c81c99a491282f76757c2673961e3cdee6853539..7d18220729378bc55a4b8ccc298d80e03263f3f0:/teshsuite/smpi/mpich3-test/coll/red_scat_block2.c diff --git a/teshsuite/smpi/mpich3-test/coll/red_scat_block2.c b/teshsuite/smpi/mpich3-test/coll/red_scat_block2.c index 5346905af9..e98273bdaf 100644 --- a/teshsuite/smpi/mpich3-test/coll/red_scat_block2.c +++ b/teshsuite/smpi/mpich3-test/coll/red_scat_block2.c @@ -70,12 +70,15 @@ void nc_sum(void *a, void *b, int *count, MPI_Datatype *type) int main( int argc, char **argv ) { +#if MTEST_HAVE_MIN_MPI_VERSION(2,2) int *sendbuf; int block_size; int *recvbuf; - int size, rank, i; - MPI_Comm comm; + int i; MPI_Op left_op, right_op, nc_sum_op; +#endif + int size, rank; + MPI_Comm comm; MTest_Init( &argc, &argv ); comm = MPI_COMM_WORLD;