Ignore:
Timestamp:
11/19/18 15:52:54 (5 years ago)
Author:
yushan
Message:

branch_openmp merged with trunk r1597

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/node/context.hpp

    r1542 r1601  
    55#include "xios_spl.hpp" 
    66//#include "node_type.hpp" 
     7#include "mpi_std.hpp" 
    78#include "calendar_wrapper.hpp" 
    89 
     
    1112#include "garbage_collector.hpp" 
    1213#include "registry.hpp" 
    13 #include "mpi.hpp" 
    1414 
    1515 
     
    8888      public : 
    8989         // Initialize server or client 
    90          void initClient(MPI_Comm intraComm, MPI_Comm interComm, CContext* cxtServer = 0); 
    91          void initServer(MPI_Comm intraComm, MPI_Comm interComm, CContext* cxtClient = 0); 
     90         void initClient(ep_lib::MPI_Comm intraComm, ep_lib::MPI_Comm interComm, CContext* cxtServer = 0); 
     91         void initServer(ep_lib::MPI_Comm intraComm, ep_lib::MPI_Comm interComm, CContext* cxtClient = 0); 
    9292         bool isInitialized(void); 
    9393 
     
    239239 
    240240         // Context root 
    241          static std::shared_ptr<CContextGroup> root; 
     241         static std::shared_ptr<CContextGroup> *root_ptr; 
     242         #pragma omp threadprivate(root_ptr) 
    242243 
    243244         // Determine context on client or not 
     
    262263         StdString idServer_; 
    263264         CGarbageCollector garbageCollector; 
    264          std::list<MPI_Comm> comms; //!< Communicators allocated internally 
     265         std::list<ep_lib::MPI_Comm> comms; //!< Communicators allocated internally 
    265266 
    266267      public: // Some function maybe removed in the near future 
Note: See TracChangeset for help on using the changeset viewer.