Ignore:
Timestamp:
05/28/18 17:28:07 (4 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_fetch.cpp

    r1500 r1503  
    1111        int MPI_Fetch_and_op(const void *origin_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Op op, MPI_Win win) 
    1212  { 
    13     int target_mpi_rank   = win->comm->rank_map->at(target_rank).second; 
    14     int target_local_rank = win->comm->rank_map->at(target_rank).first; 
     13    int target_mpi_rank   = win->comm->ep_rank_map->at(target_rank).second; 
     14    int target_local_rank = win->comm->ep_rank_map->at(target_rank).first; 
    1515    int num_ep = win->comm->ep_comm_ptr->size_rank_info[1].second; 
    1616    if(num_ep==1) 
Note: See TracChangeset for help on using the changeset viewer.