Ignore:
Timestamp:
07/05/17 14:14:09 (7 years ago)
Author:
yushan
Message:

add request_check. test client and complete OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan_merged/src/transformation/grid_transformation.cpp

    r1134 r1196  
    474474  // Sending global index of grid source to corresponding process as well as the corresponding mask 
    475475  std::vector<ep_lib::MPI_Request> requests; 
     476  requests.reserve(2*recvRankSizeMap.size()+2*globaIndexWeightFromSrcToDst.size()); 
    476477  std::vector<ep_lib::MPI_Status> status; 
    477478  boost::unordered_map<int, unsigned char* > recvMaskDst; 
     
    534535  std::vector<ep_lib::MPI_Request>().swap(requests); 
    535536  std::vector<ep_lib::MPI_Status>().swap(status); 
     537  requests.reserve(sendRankSizeMap.size()+recvRankSizeMap.size()); 
    536538  // Okie, on destination side, we will wait for information of masked index of source 
    537539  for (std::map<int,int>::const_iterator itSend = sendRankSizeMap.begin(); itSend != sendRankSizeMap.end(); ++itSend) 
Note: See TracChangeset for help on using the changeset viewer.