ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/simError.c
(Generate patch)

Comparing trunk/OOPSE/libBASS/simError.c (file contents):
Revision 378 by mmeineke, Fri Mar 21 17:42:12 2003 UTC vs.
Revision 447 by mmeineke, Thu Apr 3 20:21:54 2003 UTC

# Line 9 | Line 9 | int nChecks;
9  
10   #include "simError.h"
11  
12 + errorStruct painCave;
13  
14 + #ifdef IS_MPI
15 +
16 + char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH];
17 + int worldRank;
18 +
19 + #endif
20 +
21 +
22   void initSimError( void ){
23    painCave.errMsg[0] = '\0';
24    painCave.isFatal = 0;
# Line 25 | Line 34 | int simError( void ) {
34   #ifdef IS_MPI
35    int myError = 1;
36    int isError;
28  int isFatal;
37  
38     if( painCave.isEventLoop ){
39      fprintf( stderr,
# Line 47 | Line 55 | int simError( void ) {
55      }
56      else{
57        fprintf( stderr,
58 <               "MPI Non-Fatal Error on node %d: %s\n",
58 >               "MPI Warning on node %d: %s\n",
59                 worldRank,
60                 painCave.errMsg );
61      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines