Changeset 1601 for XIOS/dev/dev_trunk_omp/src/node/context.hpp
- Timestamp:
- 11/19/18 15:52:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/node/context.hpp
r1542 r1601 5 5 #include "xios_spl.hpp" 6 6 //#include "node_type.hpp" 7 #include "mpi_std.hpp" 7 8 #include "calendar_wrapper.hpp" 8 9 … … 11 12 #include "garbage_collector.hpp" 12 13 #include "registry.hpp" 13 #include "mpi.hpp"14 14 15 15 … … 88 88 public : 89 89 // 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); 92 92 bool isInitialized(void); 93 93 … … 239 239 240 240 // Context root 241 static std::shared_ptr<CContextGroup> root; 241 static std::shared_ptr<CContextGroup> *root_ptr; 242 #pragma omp threadprivate(root_ptr) 242 243 243 244 // Determine context on client or not … … 262 263 StdString idServer_; 263 264 CGarbageCollector garbageCollector; 264 std::list< MPI_Comm> comms; //!< Communicators allocated internally265 std::list<ep_lib::MPI_Comm> comms; //!< Communicators allocated internally 265 266 266 267 public: // Some function maybe removed in the near future
Note: See TracChangeset
for help on using the changeset viewer.