--- trunk/OOPSE/libBASS/simError.c 2003/03/21 17:42:12 378 +++ trunk/OOPSE/libBASS/simError.c 2003/04/03 20:21:54 447 @@ -9,7 +9,16 @@ int nChecks; #include "simError.h" +errorStruct painCave; +#ifdef IS_MPI + +char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH]; +int worldRank; + +#endif + + void initSimError( void ){ painCave.errMsg[0] = '\0'; painCave.isFatal = 0; @@ -25,7 +34,6 @@ int simError( void ) { #ifdef IS_MPI int myError = 1; int isError; - int isFatal; if( painCave.isEventLoop ){ fprintf( stderr, @@ -47,7 +55,7 @@ int simError( void ) { } else{ fprintf( stderr, - "MPI Non-Fatal Error on node %d: %s\n", + "MPI Warning on node %d: %s\n", worldRank, painCave.errMsg ); }