Ignore:
Timestamp:
06/11/18 19:06:45 (3 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_recv.cpp

    r1532 r1538  
    4343    if(comm->is_intercomm) 
    4444    { 
    45       src = comm->inter_rank_map->at(src); 
    46       printf("new src = %d\n", src); 
     45      if(src>=0) src = comm->inter_rank_map->at(src); 
    4746    } 
    4847     
     
    6160    (*request)->type = 2; 
    6261    (*request)->probed = false; 
    63      
     62    (*request)->state = 0; 
    6463 
    6564    (*request)->ep_src = src; 
     
    6968    if(EP_PendingRequests == 0 ) EP_PendingRequests = new std::list< MPI_Request* >; 
    7069 
    71     EP_PendingRequests->push_back(request);   
     70    EP_PendingRequests->push_back(request);  
    7271     
    7372    memcheck("EP_PendingRequests["<<ep_rank<<"]->size() = " << EP_PendingRequests->size());     
     
    127126     
    128127    (*request)->probed = true; 
     128    (*request)->state = 1; 
    129129         
    130130    ::MPI_Imrecv(buf, count, to_mpi_type(datatype), to_mpi_message_ptr(*message), to_mpi_request_ptr(*request));                 
     
    139139 
    140140     
    141     return Request_Check(); 
     141    //return Request_Check(); 
    142142  } 
    143143 
Note: See TracChangeset for help on using the changeset viewer.