Ignore:
Timestamp:
05/28/18 17:28:07 (6 years ago)
Author:
yushan
Message:

rank_map is passed from vector to map, in order to have more flexibility in comm_split

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/ep_dev/ep_comm.hpp

    r1502 r1503  
    1010typedef std::vector< std::pair<int, int> > RANK_MAP;  // at(ep_rank) = <ep_rank_local, mpi_rank> 
    1111typedef std::map<int, std::pair<int, int> > EP_RANK_MAP;  // key(ep_rank) = <ep_rank_local, mpi_rank> 
    12 typedef std::vector<std::pair< std::pair<int, int>, std::pair<int, int> > > INTERCOMM_RANK_MAP; 
     12//typedef std::vector<std::pair< std::pair<int, int>, std::pair<int, int> > > INTERCOMM_RANK_MAP; 
    1313typedef std::list<ep_lib::MPI_Message > Message_list; 
    1414 
     
    5252    BUFFER     *my_buffer; 
    5353    ep_barrier *ep_barrier; 
    54     RANK_MAP   *rank_map; 
     54    //RANK_MAP   *rank_map; 
     55    EP_RANK_MAP   *ep_rank_map; 
    5556    void* mpi_comm; 
    5657    ep_communicator *ep_comm_ptr; 
Note: See TracChangeset for help on using the changeset viewer.