Ignore:
Timestamp:
01/23/19 10:31:44 (5 years ago)
Author:
yushan
Message:

dev on ADA. add flag switch _usingEP/_usingMPI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/policy.cpp

    r1328 r1642  
    1010#include "policy.hpp" 
    1111#include <cmath> 
    12 using namespace ep_lib; 
    1312 
    1413namespace xios 
     
    5049//} 
    5150 
    52 DivideAdaptiveComm::DivideAdaptiveComm(const MPI_Comm& mpiComm) 
     51DivideAdaptiveComm::DivideAdaptiveComm(const ep_lib::MPI_Comm& mpiComm) 
    5352  : internalComm_(mpiComm), level_(0), groupBegin_(), nbInGroup_(), computed_(false) 
    5453{ 
     
    6261 
    6362  int mpiSize, mpiRank; 
    64   MPI_Comm_size(internalComm_,&mpiSize); 
    65   MPI_Comm_rank(internalComm_,&mpiRank); 
     63  ep_lib::MPI_Comm_size(internalComm_,&mpiSize); 
     64  ep_lib::MPI_Comm_rank(internalComm_,&mpiRank); 
    6665 
    6766  int maxChild=1; 
Note: See TracChangeset for help on using the changeset viewer.