]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/smpi/mpich3-test/io/simple_collective.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get_accumulate: if MPI_NO_OP is specified, origin* inputs are irrelevant
[simgrid.git] / teshsuite / smpi / mpich3-test / io / simple_collective.c
index 82c3b4d452e16abdfad6ae5263b5f156b53cee02..2c5699b1d8c5e123cc7f6de804804d3a24547025 100644 (file)
@@ -6,7 +6,7 @@
 
 
 /* this deceptively simple test uncovered a bug in the way certain file systems
- * dealt with tuning parmeters.  See
+ * dealt with tuning parameters.  See
  * https://github.com/open-mpi/ompi/issues/158 and
  * http://trac.mpich.org/projects/mpich/ticket/2261
  *
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
     sprintf(file, "%s", opt_file);
     MPI_Info_create(&info);
     nr_errors += test_write(file, nprocs, rank, info);
-    /* acutal value does not matter.  test only writes a small amount of data */
+    /* actual value does not matter.  test only writes a small amount of data */
     MPI_Info_set(info, "striping_factor", "50");
     nr_errors += test_write(file, nprocs, rank, info);
     MPI_Info_free(&info);
@@ -148,7 +148,7 @@ static int parse_args(int argc, char **argv)
     }
 
     opt_file = strdup(argv[optind]);
-    assert(opt_file);
+    assert(opt_file!=NULL);
 
     return (0);
 }