Last change
on this file since 467 was
382,
checked in by ymipsl, 12 years ago
|
embed MPI header to avoid some porting problem
YM
|
File size:
552 bytes
|
Rev | Line | |
---|
[342] | 1 | #ifndef __CLIENT_HPP__ |
---|
| 2 | #define __CLIENT_HPP__ |
---|
[300] | 3 | |
---|
| 4 | #include "xmlioserver_spl.hpp" |
---|
[382] | 5 | #include "mpi.hpp" |
---|
[300] | 6 | |
---|
[335] | 7 | namespace xios |
---|
[300] | 8 | { |
---|
| 9 | class CClient |
---|
| 10 | { |
---|
| 11 | public: |
---|
| 12 | |
---|
| 13 | static void initialize(const string& codeId,MPI_Comm& localComm,MPI_Comm& returnComm) ; |
---|
| 14 | static void finalize(void) ; |
---|
| 15 | static void registerContext(const string& id,MPI_Comm contextComm) ; |
---|
| 16 | |
---|
| 17 | static MPI_Comm intraComm ; |
---|
| 18 | static MPI_Comm interComm ; |
---|
| 19 | static int serverLeader; |
---|
| 20 | static bool is_MPI_Initialized ; |
---|
| 21 | } ; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.