From: Arnaud Giersch Date: Thu, 27 Jul 2017 13:28:40 +0000 (+0200) Subject: Another one only built on *bsd. X-Git-Tag: v3_17~316^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d5e9988754d1d940bcf439a0422d1f601759f087 Another one only built on *bsd. --- diff --git a/teshsuite/smpi/mpich3-test/coll/allgatherv4_manual.c b/teshsuite/smpi/mpich3-test/coll/allgatherv4_manual.c index c5cbb95a71..ff76581de6 100644 --- a/teshsuite/smpi/mpich3-test/coll/allgatherv4_manual.c +++ b/teshsuite/smpi/mpich3-test/coll/allgatherv4_manual.c @@ -67,10 +67,14 @@ int main(int argc, char ** argv) SMPI_VARGET_GLOBAL(displs) = (void *) malloc(comm_size * sizeof(int)); if (!SMPI_VARGET_GLOBAL(recvcounts) || !SMPI_VARGET_GLOBAL(displs) || !SMPI_VARGET_GLOBAL(sbuf) || !SMPI_VARGET_GLOBAL(rbuf)) { fprintf(stderr, "Unable to allocate memory:\n"); - if (!SMPI_VARGET_GLOBAL(sbuf)) fprintf(stderr,"\tsbuf of %d bytes\n", MAX_BUF ); - if (!SMPI_VARGET_GLOBAL(rbuf)) fprintf(stderr,"\trbuf of %d bytes\n", MAX_BUF ); - if (!SMPI_VARGET_GLOBAL(recvcounts)) fprintf(stderr,"\trecvcounts of %zd bytes\n", comm_size * sizeof(int) ); - if (!SMPI_VARGET_GLOBAL(displs)) fprintf(stderr,"\tdispls of %zd bytes\n", comm_size * sizeof(int) ); + if (!SMPI_VARGET_GLOBAL(sbuf)) + fprintf(stderr,"\tsbuf of %d bytes\n", MAX_BUF ); + if (!SMPI_VARGET_GLOBAL(rbuf)) + fprintf(stderr,"\trbuf of %d bytes\n", MAX_BUF ); + if (!SMPI_VARGET_GLOBAL(recvcounts)) + fprintf(stderr,"\trecvcounts of %zu bytes\n", comm_size * sizeof(int)); + if (!SMPI_VARGET_GLOBAL(displs)) + fprintf(stderr,"\tdispls of %zu bytes\n", comm_size * sizeof(int)); fflush(stderr); MPI_Abort(MPI_COMM_WORLD, -1); exit(-1);