Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This used to work by accident
[simgrid.git] / teshsuite / smpi / mpich-test / coll / coll13.c
index 28e656d..f2518d3 100644 (file)
@@ -18,7 +18,6 @@ From: hook@nas.nasa.gov (Edward C. Hook)
 int main( int argc, char *argv[] )
 {
     int rank, size;
-    int chunk = 4096;
     int i,j;
     int *sb;
     int *rb;
@@ -32,9 +31,6 @@ int main( int argc, char *argv[] )
        if ( argv[i][0] != '-' )
            continue;
        switch(argv[i][1]) {
-       case 'm':
-           chunk = atoi(argv[++i]);
-           break;
        default:
            fprintf(stderr,"Unrecognized argument %s\n",
                    argv[i]);
@@ -44,8 +40,9 @@ int main( int argc, char *argv[] )
      
     
     /*
-    SMPI addition : we want to test all three alltoall algorithms, thus we use three diffrent sizes
-    this is the code that handles these cases
+    SMPI addition: we want to test all three alltoall algorithms, thus we use
+    three different sizes.  This is the code that handles these cases:
+
     if (sendsize < 200 && size > 12) {
       retval =
           smpi_coll_tuned_alltoall_bruck(sendbuf, sendcount, sendtype,
@@ -62,8 +59,6 @@ int main( int argc, char *argv[] )
                                             recvbuf, recvcount, recvtype,
                                             comm);
     }
-    
-    
     */