[MOAB-dev] r1957 - MOAB/trunk/tools/mbcoupler
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Sun Jun 29 17:15:35 CDT 2008
Author: tautges
Date: 2008-06-29 17:15:35 -0500 (Sun, 29 Jun 2008)
New Revision: 1957
Modified:
MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp
Log:
Only write file save message from root.
Modified: MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp 2008-06-29 22:13:28 UTC (rev 1956)
+++ MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp 2008-06-29 22:15:35 UTC (rev 1957)
@@ -119,13 +119,13 @@
// "PARALLEL_FORMAT";
NULL;
- if (pcs[1]->proc_config().proc_rank() == 0)
+ if (pcs[1]->proc_config().proc_rank() == 0) {
result = mbImpl->write_file(outfile, NULL, out_option,
pcs[1]->partition_sets());
- PRINT_LAST_ERROR;
- std::cout << "Wrote " << outfile << std::endl;
+ PRINT_LAST_ERROR;
+ std::cout << "Wrote " << outfile << std::endl;
+ }
-
std::cout << "Success." << std::endl;
err = MPI_Finalize();
More information about the moab-dev
mailing list