Changeset 1460 for XIOS/dev/branch_openmp/src/client.hpp
- Timestamp:
- 03/22/18 10:43:20 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/client.hpp
r1342 r1460 16 16 static ep_lib::MPI_Comm intraComm; 17 17 #pragma omp threadprivate(intraComm) 18 18 19 19 static ep_lib::MPI_Comm interComm; 20 20 #pragma omp threadprivate(interComm) … … 26 26 static int serverLeader; 27 27 #pragma omp threadprivate(serverLeader) 28 28 29 29 static bool is_MPI_Initialized ; 30 30 #pragma omp threadprivate(is_MPI_Initialized) 31 31 32 //! Get rank of the current process 32 static ep_lib::MPI_Comm& getInterComm(); 33 34 //! Get global rank without oasis and current rank in model intraComm in case of oasis 33 35 static int getRank(); 34 36 … … 48 50 49 51 protected: 50 static int rank ;51 #pragma omp threadprivate(rank )52 static int rank_; //!< Rank in model intraComm 53 #pragma omp threadprivate(rank_) 52 54 53 55 static StdOFStream m_infoStream;
Note: See TracChangeset
for help on using the changeset viewer.