[cig-commits] commit: Call abort in parallel and get rid of a lot of output at the beginning.
Mercurial
hg at geodynamics.org
Fri Feb 25 14:17:04 PST 2011
changeset: 90:5512a5d6ff78
user: Walter Landry <wlandry at caltech.edu>
date: Wed Feb 16 13:56:02 2011 -0800
files: main.C
description:
Call abort in parallel and get rid of a lot of output at the beginning.
diff -r 5a15dd1c5a07 -r 5512a5d6ff78 main.C
--- a/main.C Wed Feb 16 13:32:26 2011 -0800
+++ b/main.C Wed Feb 16 13:56:02 2011 -0800
@@ -97,6 +97,7 @@ int main(
}
tbox::SAMRAI_MPI::setCallAbortInSerialInsteadOfExit(true);
+ tbox::SAMRAI_MPI::setCallAbortInParallelInsteadOfMPIAbort(true);
/*
* Create input database and parse all data in input file.
@@ -152,8 +153,8 @@ int main(
(dim,
base_name + "CartesianGridGeometry",
input_db->getDatabase("CartesianGridGeometry")));
- tbox::plog << "Cartesian Geometry:" << endl;
- grid_geometry->printClassData(tbox::plog);
+ // tbox::plog << "Cartesian Geometry:" << endl;
+ // grid_geometry->printClassData(tbox::plog);
grid_geometry->addSpatialRefineOperator
(tbox::Pointer<SAMRAI::xfer::RefineOperator>
(new SAMRAI::geom::P_Refine(dim)));
@@ -222,8 +223,8 @@ int main(
tag_and_initializer,
box_generator,
load_balancer);
- tbox::plog << "Gridding algorithm:" << endl;
- gridding_algorithm->printClassData(tbox::plog);
+ // tbox::plog << "Gridding algorithm:" << endl;
+ // gridding_algorithm->printClassData(tbox::plog);
/*
* Make the coarsest patch level where we will be solving.
More information about the CIG-COMMITS
mailing list