[MOAB-dev] r1686 - MOAB/trunk/test/h5file

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Mon Mar 24 16:24:53 CDT 2008


Author: kraftche
Date: 2008-03-24 16:24:53 -0500 (Mon, 24 Mar 2008)
New Revision: 1686

Modified:
   MOAB/trunk/test/h5file/parallel.cpp
Log:
update invocation of parallel HDF5 writer

Modified: MOAB/trunk/test/h5file/parallel.cpp
===================================================================
--- MOAB/trunk/test/h5file/parallel.cpp	2008-03-24 21:24:13 UTC (rev 1685)
+++ MOAB/trunk/test/h5file/parallel.cpp	2008-03-24 21:24:53 UTC (rev 1686)
@@ -194,7 +194,7 @@
 sprintf(tmpcstr," %d", id2);
 s += tmpcstr;
 s += " : volumes:";
-sprintf(tmpcstr," %d :", volumes.size());
+sprintf(tmpcstr," %d :", (int)volumes.size());
 s += tmpcstr;
 for (viter = volumes.begin(); viter != volumes.end(); ++viter)
 {
@@ -389,7 +389,7 @@
   
   printerror ("Writing parallel file: \"%s\"", fnames[0] );
   rval = writer->write_file( fnames[0], true, 
-                             FileOptions("PARALLEL"),
+                             FileOptions("PARALLEL=FORMAT"),
                              &list[0], list.size(), qa );
   if (MB_SUCCESS != rval)
   {




More information about the moab-dev mailing list