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