source: XMLIO_V2/dev/common/src/client_ym.hpp @ 300

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

nouvelle version de developpement de xios

  • nouvelle interface fortran
  • recodage complet de la couche de communication
  • et bien d'autres choses...

YM

File size: 588 bytes
Line 
1#ifndef __CLIENT_YM__HPP__
2#define __CLIENT_YM__HPP__
3
4#include "xmlioserver_spl.hpp"
5#include <mpi.h>
6
7namespace xmlioserver
8{                     
9  namespace ym
10  {
11    class CClient
12    {
13       public:
14       
15       static void initialize(const string& codeId,MPI_Comm& localComm,MPI_Comm& returnComm) ;
16       static void finalize(void) ;
17       static void registerContext(const string& id,MPI_Comm contextComm) ;
18
19       static MPI_Comm intraComm ;
20       static MPI_Comm interComm ;
21       static int serverLeader;
22       static bool is_MPI_Initialized ;
23    } ;
24  }
25}
26
27#endif
Note: See TracBrowser for help on using the repository browser.