Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also comment declaration for now unused variable.
[simgrid.git] / teshsuite / smpi / mpich-test / pt2pt / issendtest.c
index e5adea23c7bf067e8b91f5f77f910b43ccd0ee19..1bbf88aa49d3379eb6311ec42cd96802d139792b 100644 (file)
@@ -37,7 +37,7 @@ int main( int argc, char **argv)
 {
     int rank; /* My Rank (0 or 1) */
     int act_size = 1000;
-    int flag;
+/*    int flag;*/
     int buffer[SIZE];
     double t0;
     char *Current_Test = NULL;
@@ -85,7 +85,7 @@ for this test.\n" );
        MPI_Issend( buffer, act_size, MPI_INT, dest, 1, MPI_COMM_WORLD, &r1 );
        MPI_Issend( buffer, act_size, MPI_INT, dest, 2, MPI_COMM_WORLD, &r2 );
        t0 = MPI_Wtime();
-       flag = 0;
+/*     flag = 0;*/
 /*     while ( (MPI_Wtime() - t0) < MAX_TIME) {*/
 /*         MPI_Test( &r1, &flag, &status );*/
 /*         if (flag) {*/