Ignore:
Timestamp:
06/08/18 15:59:53 (4 years ago)
Author:
yushan
Message:

save dev

File:
1 edited

Legend:

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

    r1522 r1527  
    2525    { 
    2626      printf("MPI_Test : Error in request type\n"); 
    27   
    2827      exit(1); 
    2928    } 
     
    3938       
    4039      ::MPI_Status mpi_status; 
    41        
    42        
    4340      ::MPI_Test(to_mpi_request_ptr(*request), flag, &mpi_status); 
    4441       
     
    5148        status->ep_datatype = (*request)->ep_datatype; 
    5249         
    53         (*request)->state = 2; 
     50        //(*request)->state = 2; 
    5451                 
    5552        memcheck("delete "<< (*request)->mpi_request << " : in ep_lib::MPI_Test, delete (*request)->mpi_request"); 
     
    6158     
    6259    return Request_Check(); 
    63  
    6460  } 
    6561 
     
    10197        array_of_statuses[i].ep_datatype = array_of_requests[i]->ep_datatype; 
    10298         
    103         array_of_requests[i]->state = 2; 
     99        //array_of_requests[i]->state = 2; 
    104100       
    105101        memcheck("delete "<< array_of_requests[i]->mpi_request <<" : in ep_lib::MPI_Testall, array_of_requests["<<i<<"]->mpi_request"); 
     
    109105         
    110106      } 
    111        
    112107    } 
    113      
     108 
    114109    return Request_Check(); 
    115  
    116110  } 
    117111 
Note: See TracChangeset for help on using the changeset viewer.