X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c7a3670bc8e56e4f0fcdf46389c6aedc4b7b383..8808ddeb7a75657834c56da86b1a1e62a635957c:/teshsuite/smpi/mpich3-test/topo/graphcr2.c diff --git a/teshsuite/smpi/mpich3-test/topo/graphcr2.c b/teshsuite/smpi/mpich3-test/topo/graphcr2.c index 6d5fd2ae30..f8e13b71e7 100644 --- a/teshsuite/smpi/mpich3-test/topo/graphcr2.c +++ b/teshsuite/smpi/mpich3-test/topo/graphcr2.c @@ -13,58 +13,58 @@ static char MTEST_Descrip[] = "Create a communicator with a graph that contains null edges and one that contains duplicate edges"; */ -int main( int argc, char *argv[] ) +int main(int argc, char *argv[]) { int errs = 0; int *index = 0, *edges = 0; int rank, size, i, j, crank, csize; MPI_Comm comm; - MTest_Init( &argc, &argv ); + MTest_Init(&argc, &argv); - MPI_Comm_size( MPI_COMM_WORLD, &size ); - MPI_Comm_rank( MPI_COMM_WORLD, &rank ); + MPI_Comm_size(MPI_COMM_WORLD, &size); + MPI_Comm_rank(MPI_COMM_WORLD, &rank); - index = (int *)malloc( size*sizeof(int) ); - edges = (int *)malloc( size*sizeof(int) ); - for (i=0; i