ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/simError.h
(Generate patch)

Comparing trunk/mdtools/headers/simError.h (file contents):
Revision 153 by mmeineke, Tue Oct 22 22:12:39 2002 UTC vs.
Revision 184 by mmeineke, Thu Nov 21 20:33:06 2002 UTC

# Line 3 | Line 3
3  
4   #define MAX_SIM_ERROR_MSG_LENGTH 2000
5  
6 + #define TESTWRITE 2
7 +
8   struct errorStruct {
9    char errMsg[MAX_SIM_ERROR_MSG_LENGTH];
10    int isFatal;
# Line 13 | Line 15 | struct errorStruct {
15  
16   } painCave;
17  
18 + #ifdef IS_MPI
19 + char checkPointMsg[MAX_SIM_ERROR_MSG_LENGTH];
20  
21 + int worldRank;
22 + #endif
23 +
24   #ifdef __cplusplus
25   extern "C" {
26   #endif // __cplusplus
27    
28    int simError( void ); // returns 1 if handled. 0 otherwise.
29  
30 +  void initSimError( void ); // needed to be called from main before anything
31 +                             // goes wrong.
32 +
33   #ifdef IS_MPI
34    
35 <  void checkMPIError( void );
35 >  void MPIcheckPoint( void );
36    
37   #endif // IS_MPI
38  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines