[MOAB-dev] r3971 - MOAB/trunk/tools
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu May 27 16:33:34 CDT 2010
Author: kraftche
Date: 2010-05-27 16:33:34 -0500 (Thu, 27 May 2010)
New Revision: 3971
Modified:
MOAB/trunk/tools/convert.cpp
Log:
only print times on root processor
Modified: MOAB/trunk/tools/convert.cpp
===================================================================
--- MOAB/trunk/tools/convert.cpp 2010-05-27 21:17:53 UTC (rev 3970)
+++ MOAB/trunk/tools/convert.cpp 2010-05-27 21:33:34 UTC (rev 3971)
@@ -295,7 +295,7 @@
return READ_ERROR;
}
std::cerr << "Read \"" << in << "\"" << std::endl;
- if (print_times) write_times( std::cerr );
+ if (print_times && !proc_id) write_times( std::cout );
// Determine if the user has specified any geometry sets to write
bool have_geom = false;
@@ -527,8 +527,9 @@
#endif
return WRITE_ERROR;
}
+
std::cerr << "Wrote \"" << out << "\"" << std::endl;
- if (print_times) write_times( std::cerr );
+ if (print_times && !proc_id) write_times( std::cout );
#ifdef USE_MPI
MPI_Finalize();
More information about the moab-dev
mailing list