Ignore:
Timestamp:
06/11/18 19:06:45 (6 years ago)
Author:
yushan
Message:

tests in XIOS OK (client, complete, remap, toy)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/ep_dev/ep_probe.cpp

    r1532 r1538  
    5656    if(comm->is_intercomm) 
    5757    { 
    58       src = comm->inter_rank_map->at(src); 
     58      if(src>=0) src = comm->inter_rank_map->at(src); 
    5959    }  
    6060     
     
    8585        status->ep_src = (*it)->ep_src; 
    8686        status->ep_tag = (*it)->ep_tag; 
     87         
     88        if(comm->is_intercomm) 
     89        { 
     90          for(INTER_RANK_MAP::iterator iter = comm->inter_rank_map->begin(); iter != comm->inter_rank_map->end(); iter++) 
     91          { 
     92            if(iter->second == (*it)->ep_src) status->ep_src=iter->first; 
     93          } 
     94        } 
    8795 
    8896        *flag = true; 
Note: See TracChangeset for help on using the changeset viewer.