Ignore:
Timestamp:
03/22/18 10:43:20 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with XIOS_DEV_CMIP6@1459

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/client.hpp

    r1342 r1460  
    1616      static ep_lib::MPI_Comm intraComm; 
    1717      #pragma omp threadprivate(intraComm) 
    18     
     18 
    1919      static ep_lib::MPI_Comm interComm; 
    2020      #pragma omp threadprivate(interComm) 
     
    2626      static int serverLeader; 
    2727      #pragma omp threadprivate(serverLeader) 
    28        
     28 
    2929      static bool is_MPI_Initialized ; 
    3030      #pragma omp threadprivate(is_MPI_Initialized) 
    3131 
    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 
    3335      static int getRank(); 
    3436 
     
    4850 
    4951    protected: 
    50       static int rank; 
    51       #pragma omp threadprivate(rank) 
     52      static int rank_;                 //!< Rank in model intraComm 
     53      #pragma omp threadprivate(rank_) 
    5254 
    5355      static StdOFStream m_infoStream; 
Note: See TracChangeset for help on using the changeset viewer.