Changeset 1134 for XIOS/dev/branch_yushan_merged/src/client.hpp
- Timestamp:
- 05/16/17 17:54:30 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/client.hpp
r655 r1134 12 12 static void initialize(const string& codeId, MPI_Comm& localComm, MPI_Comm& returnComm); 13 13 static void finalize(void); 14 static void registerContext(const string& id, MPI_Comm contextComm);14 static void registerContext(const string& id, ep_lib::MPI_Comm contextComm); 15 15 16 16 static MPI_Comm intraComm; 17 #pragma omp threadprivate(intraComm) 18 17 19 static MPI_Comm interComm; 18 static std::list<MPI_Comm> contextInterComms; 20 #pragma omp threadprivate(interComm) 21 22 //static std::list<MPI_Comm> contextInterComms; 23 24 static std::list<MPI_Comm> * contextInterComms_ptr; 25 #pragma omp threadprivate(contextInterComms_ptr) 26 19 27 static int serverLeader; 28 #pragma omp threadprivate(serverLeader) 29 20 30 static bool is_MPI_Initialized ; 31 #pragma omp threadprivate(is_MPI_Initialized) 21 32 22 33 //! Get rank of the current process … … 39 50 protected: 40 51 static int rank; 52 #pragma omp threadprivate(rank) 53 41 54 static StdOFStream m_infoStream; 55 #pragma omp threadprivate(m_infoStream) 56 42 57 static StdOFStream m_errorStream; 58 #pragma omp threadprivate(m_errorStream) 59 60 static StdOFStream array_infoStream[10]; 43 61 44 62 static void openStream(const StdString& fileName, const StdString& ext, std::filebuf* fb);
Note: See TracChangeset
for help on using the changeset viewer.