[cig-commits] commit: Call abort instead of exit when there is a problem.

Mercurial hg at geodynamics.org
Fri Feb 25 14:13:38 PST 2011


changeset:   27:1d344c9069f9
user:        Walter Landry <wlandry at caltech.edu>
date:        Thu Jan 06 19:32:43 2011 -0800
files:       main.C
description:
Call abort instead of exit when there is a problem.


diff -r 50ec4da0ab02 -r 1d344c9069f9 main.C
--- a/main.C	Wed Jan 05 15:23:17 2011 -0800
+++ b/main.C	Thu Jan 06 19:32:43 2011 -0800
@@ -89,6 +89,8 @@ int main(
     } else {
       input_filename = argv[1];
     }
+
+    tbox::SAMRAI_MPI::setCallAbortInSerialInsteadOfExit(true);
 
     /*
      * Create input database and parse all data in input file.



More information about the CIG-COMMITS mailing list