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

Comparing trunk/mdtools/headers/mpiInterface.h (file contents):
Revision 120 by chuckv, Thu Sep 26 21:36:19 2002 UTC vs.
Revision 136 by chuckv, Wed Oct 16 20:01:53 2002 UTC

# Line 1 | Line 1
1 < #idndef __MPIINTERFACE_H
1 > #ifndef __MPIINTERFACE_H
2   #define __MPIINTERFACE_H
3  
4   #define MPI_INTERFACE_ABORT 2
5   #define MPI_INTERFACE_DONE  1
6 < #define MPI_INTEFACE_CONTINUE 0
6 > #define MPI_INTERFACE_CONTINUE 0
7  
8  
9  
10 + #include <mpi.h>
11  
12 <
12 > #ifndef __is_lex__
13   #include "BASS_interface.h"
14 < #include <mpi.h>
14 > #endif
15  
16 < extern  void mpiInterfaceExit(void);
17 < extern  void throwMPIEvent(event* event);
18 < extern  void mpiEventLoop(void);
16 > #ifdef __cplusplus
17 > extern "C" {
18 > #endif
19  
20 +  void mpiInterfaceExit(void);
21 +  void mpiEventInit(void);
22 + #ifndef __is_lex__
23 +  void throwMPIEvent(event* event);
24 +  void mpiEventLoop(void);
25 + #endif
26 +
27 + #ifdef __cplusplus
28 + }
29 + #endif
30 +
31   // Structure to pass mpi a BASS event
32  
33   typedef struct mpiBASSEvent{
# Line 23 | Line 35 | typedef struct mpiBASSEvent{
35    double d1,d2,d3;
36    int    i1,i2,i3,i4;
37    char   cArray[120];
38 +  char   lhs[80];
39   } mBEvent;
40  
41   // types for mpiBASSEvent.type
# Line 44 | Line 57 | typedef struct mpiBASSEvent{
57  
58  
59   // Define the mpi datatype
60 + #ifdef __mpiBASSEVENT
61   MPI_Datatype mpiBASSEventType;
62 + #endif
63  
49
64   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines