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_wait.cpp

    r1500 r1503  
    4141    (*request)->state = 2; 
    4242 
    43     printf("delete %p : in ep_lib::MPI_Wait, delete (*request)->mpi_request\n", (*request)->mpi_request); 
     43    memcheck("delete "<< (*request)->mpi_request << " : in ep_lib::MPI_Wait, delete (*request)->mpi_request"); 
    4444    delete (*request)->mpi_request; 
    4545    Request_Check(); 
     
    9191      array_of_statuses[i].ep_datatype = array_of_requests[i]->ep_datatype; 
    9292      array_of_requests[i]->state = 2; 
    93       printf("delete %p : in ep_lib::MPI_Wait, array_of_requests[i]->mpi_request\n", array_of_requests[i]->mpi_request); 
     93      memcheck("delete "<< array_of_requests[i]->mpi_request <<" : in ep_lib::MPI_Waitall, array_of_requests["<<i<<"]->mpi_request"); 
    9494      delete array_of_requests[i]->mpi_request; 
    9595      if(array_of_requests[i]->type == 1)  
    9696      { 
    97         printf("delete %p : in ep_lib::MPI_Wait, array_of_requests[i]\n", array_of_requests[i]); 
     97        memcheck("delete "<< array_of_requests[i] <<" : in ep_lib::MPI_Waitall, array_of_requests["<<i<<"]"); 
    9898        delete array_of_requests[i]; 
    9999      } 
Note: See TracChangeset for help on using the changeset viewer.