source: XIOS/trunk/src/client.hpp @ 470

Last change on this file since 470 was 382, checked in by ymipsl, 12 years ago

embed MPI header to avoid some porting problem

YM

File size: 552 bytes
Line 
1#ifndef __CLIENT_HPP__
2#define __CLIENT_HPP__
3
4#include "xmlioserver_spl.hpp"
5#include "mpi.hpp"
6
7namespace xios
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.