X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/01cfa7276bea34f747662c55a1ce2f2f7d38c1c6..aac4ba41ea27fe8168bebed009abebd7e5c3f006:/teshsuite/smpi/mpich3-test/perf/indexperf.c diff --git a/teshsuite/smpi/mpich3-test/perf/indexperf.c b/teshsuite/smpi/mpich3-test/perf/indexperf.c index e05463bc89..38c3822533 100644 --- a/teshsuite/smpi/mpich3-test/perf/indexperf.c +++ b/teshsuite/smpi/mpich3-test/perf/indexperf.c @@ -23,163 +23,163 @@ static int verbose = 0; -int main( int argc, char **argv ) +int main(int argc, char **argv) { - double *inbuf, *outbuf, *outbuf2; - MPI_Aint lb, extent; - int *index_displacement; - int icount, errs=0; - int i, packsize, position, inbufsize; + double *inbuf, *outbuf, *outbuf2; + MPI_Aint lb, extent; + int *index_displacement; + int icount, errs = 0; + int i, packsize, position, inbufsize; MPI_Datatype itype1, stype1; - double t0, t1; - double tpack, tspack, tmanual; - int ntry; + double t0, t1; + double tpack, tspack, tmanual; + int ntry; - MPI_Init( &argc, &argv ); + MPI_Init(&argc, &argv); icount = 2014; /* Create a simple block indexed datatype */ - index_displacement = (int *)malloc( icount * sizeof(int) ); + index_displacement = (int *) malloc(icount * sizeof(int)); if (!index_displacement) { - fprintf( stderr, "Unable to allocated index array of size %d\n", - icount ); - MPI_Abort( MPI_COMM_WORLD, 1 ); + fprintf(stderr, "Unable to allocated index array of size %d\n", icount); + MPI_Abort(MPI_COMM_WORLD, 1); } - for (i=0; i