X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c81c99a491282f76757c2673961e3cdee6853539..2bb3a0d042a8a1deb91c18dba0cbdf42237413d4:/teshsuite/smpi/mpich3-test/comm/comm_group_half.c diff --git a/teshsuite/smpi/mpich3-test/comm/comm_group_half.c b/teshsuite/smpi/mpich3-test/comm/comm_group_half.c index 8302b58df7..21808ea5a8 100644 --- a/teshsuite/smpi/mpich3-test/comm/comm_group_half.c +++ b/teshsuite/smpi/mpich3-test/comm/comm_group_half.c @@ -6,7 +6,6 @@ #include #include -/* USE_STRICT_MPI may be defined in mpitestconf.h */ #include "mpitestconf.h" int main(int argc, char **argv) @@ -14,7 +13,7 @@ int main(int argc, char **argv) int rank, size; MPI_Group full_group, half_group; int range[1][3]; - MPI_Comm __attribute__((unused)) comm; + MPI_Comm comm; MPI_Init(NULL, NULL); MPI_Comm_rank(MPI_COMM_WORLD, &rank); @@ -26,13 +25,11 @@ int main(int argc, char **argv) range[0][2] = 1; MPI_Group_range_incl(full_group, 1, range, &half_group); -#if !defined(USE_STRICT_MPI) && defined(MPICH) if (rank <= size / 2) { MPI_Comm_create_group(MPI_COMM_WORLD, half_group, 0, &comm); MPI_Barrier(comm); MPI_Comm_free(&comm); } -#endif /* USE_STRICT_MPI */ MPI_Group_free(&half_group); MPI_Group_free(&full_group);