X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b73466ada27682d1729f394549479da83ef4a99..90f50bba185f1c86225aa498dcc3a01c9080b52b:/teshsuite/smpi/mpich3-test/coll/scatterv.c diff --git a/teshsuite/smpi/mpich3-test/coll/scatterv.c b/teshsuite/smpi/mpich3-test/coll/scatterv.c index 6d8aa9454b..3115bfc045 100644 --- a/teshsuite/smpi/mpich3-test/coll/scatterv.c +++ b/teshsuite/smpi/mpich3-test/coll/scatterv.c @@ -8,8 +8,8 @@ #include /* Prototypes for picky compilers */ -void SetData ( double *, double *, int, int, int, int, int, int ); -int CheckData ( double *, int, int, int, int, int, int ); +void SetData(double *, double *, int, int, int, int, int, int); +int CheckData(double *, int, int, int, int, int, int); /* This is an example of using scatterv to send a matrix from one process to all others, with the matrix stored in Fortran order. @@ -21,19 +21,19 @@ int CheckData ( double *, int, int, int, int, int, int ); */ -void SetData( double *sendbuf, double *recvbuf, int nx, int ny, - int myrow, int mycol, int nrow, int ncol ) +void SetData(double *sendbuf, double *recvbuf, int nx, int ny, + int myrow, int mycol, int nrow, int ncol) { int coldim, i, j, m, k; double *p; if (myrow == 0 && mycol == 0) { coldim = nx * nrow; - for (j=0; j