X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf720a7646091413c4e7dd81ee640c1d93bd1fcc..29af76860c8d693917872c2a0ed3d2a4c7a0388f:/examples/smpi/allreduce.c diff --git a/examples/smpi/allreduce.c b/examples/smpi/allreduce.c index eddb7252c4..83e6b10c0b 100644 --- a/examples/smpi/allreduce.c +++ b/examples/smpi/allreduce.c @@ -29,7 +29,7 @@ static int ibm_test(int rank, int size) int success = 1; #define MAXLEN 10000 - int root, i, j, k; + int root = 0, i, j, k; int out[MAXLEN]; int in[MAXLEN];