X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b73466ada27682d1729f394549479da83ef4a99..b9625f82f86db0674e911887addce45dca31b57f:/teshsuite/smpi/mpich3-test/pt2pt/sendflood.c diff --git a/teshsuite/smpi/mpich3-test/pt2pt/sendflood.c b/teshsuite/smpi/mpich3-test/pt2pt/sendflood.c index e2fed07b26..d03a868847 100644 --- a/teshsuite/smpi/mpich3-test/pt2pt/sendflood.c +++ b/teshsuite/smpi/mpich3-test/pt2pt/sendflood.c @@ -10,8 +10,8 @@ /* * Run this test with 8 processes. This test was submitted by xxx - * as a result of problems seen with the ch3:shm device on a Solaris - * system. The symptom is that the test hangs; this is due to losing + * as a result of problems seen with the ch3:shm device on a Solaris + * system. The symptom is that the test hangs; this is due to losing * a message, probably due to a race condition in a message-queue update. * As a test for race conditions, it may need to be run multiple times * to expose a problem if a problem does exist. @@ -25,132 +25,128 @@ static int verbose = 0; static int loopProgress = 0; -int main( int argc, char *argv[] ) +int main(int argc, char *argv[]) { - int nProc, rank ; - int i, j, status ; - FILE *pf=0 ; + int nProc, rank; + int i, j, status; + FILE *pf = 0; - MPI_Init( &argc, &argv ) ; - MPI_Comm_size( MPI_COMM_WORLD, &nProc ) ; - MPI_Comm_rank( MPI_COMM_WORLD, &rank ) ; + MPI_Init(&argc, &argv); + MPI_Comm_size(MPI_COMM_WORLD, &nProc); + MPI_Comm_rank(MPI_COMM_WORLD, &rank); - for (i=1; i