--- trunk/mdtools/headers/simError.h 2002/10/24 20:40:49 155 +++ trunk/mdtools/headers/simError.h 2002/11/21 20:33:06 184 @@ -3,6 +3,8 @@ #define MAX_SIM_ERROR_MSG_LENGTH 2000 +#define TESTWRITE 2 + struct errorStruct { char errMsg[MAX_SIM_ERROR_MSG_LENGTH]; int isFatal; @@ -13,6 +15,12 @@ struct errorStruct { } painCave; +#ifdef IS_MPI +char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH]; + +int worldRank; +#endif + #ifdef __cplusplus extern "C" { #endif // __cplusplus @@ -24,7 +32,7 @@ extern "C" { #ifdef IS_MPI - void checkMPIError( void ); + void MPIcheckPoint( void ); #endif // IS_MPI