Ignore:
Timestamp:
12/13/17 14:42:26 (4 years ago)
Author:
yushan
Message:

unify type : MPI_Request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/src_ep_dev/ep_send.cpp

    r1328 r1373  
    7474      ::MPI_Isend(buf, count, to_mpi_type(datatype), dest, tag, to_mpi_comm(comm.mpi_comm), &mpi_request); 
    7575 
    76       request->mpi_request = mpi_request; 
     76      request->mpi_request = new ::MPI_Request(mpi_request); 
    7777 
    7878      request->ep_src = src_rank; 
     
    104104    ::MPI_Isend(buf, count, to_mpi_type(datatype), mpi_dest, mpi_tag, to_mpi_comm(comm.mpi_comm), &mpi_request); 
    105105 
    106     request->mpi_request = mpi_request; 
     106    request->mpi_request = new ::MPI_Request(mpi_request); 
    107107    request->type = 1;    // used in wait 
    108108    request->comm = comm; 
     
    131131      ::MPI_Issend(buf, count, to_mpi_type(datatype), dest, tag, to_mpi_comm(comm.mpi_comm), &mpi_request); 
    132132 
    133       request->mpi_request = mpi_request; 
     133      request->mpi_request = new ::MPI_Request(mpi_request); 
    134134      request->ep_src = src_rank; 
    135135      request->ep_tag = tag; 
     
    160160    ::MPI_Issend(buf, count, to_mpi_type(datatype), mpi_dest, mpi_tag, to_mpi_comm(comm.mpi_comm), &mpi_request); 
    161161 
    162     request->mpi_request = mpi_request; 
     162    request->mpi_request = new ::MPI_Request(mpi_request); 
    163163    request->type = 1;    // used in wait 
    164164    request->comm = comm; 
     
    206206      ::MPI_Isend(buf, count, to_mpi_type(datatype), mpi_dest, mpi_tag, to_mpi_comm(comm.mpi_comm), &mpi_request); 
    207207 
    208       request->mpi_request = mpi_request; 
     208      request->mpi_request = new ::MPI_Request(mpi_request); 
    209209      request->type = 1;    // used in wait 
    210210      request->comm = comm; 
     
    227227      ::MPI_Isend(buf, count, to_mpi_type(datatype), mpi_dest, mpi_tag, to_mpi_comm(comm.ep_comm_ptr->intercomm->mpi_inter_comm), &mpi_request); 
    228228 
    229       request->mpi_request = mpi_request; 
     229      request->mpi_request = new ::MPI_Request(mpi_request); 
    230230      request->type = 1;    // used in wait 
    231231      request->comm = comm; 
     
    277277      ::MPI_Issend(buf, count, to_mpi_type(datatype), mpi_dest, mpi_tag, to_mpi_comm(comm.mpi_comm), &mpi_request); 
    278278 
    279       request->mpi_request = mpi_request; 
     279      request->mpi_request = new ::MPI_Request(mpi_request); 
    280280      request->type = 1;    // used in wait 
    281281      request->comm = comm; 
     
    298298      ::MPI_Issend(buf, count, to_mpi_type(datatype), mpi_dest, mpi_tag, to_mpi_comm(comm.ep_comm_ptr->intercomm->mpi_inter_comm), &mpi_request); 
    299299 
    300       request->mpi_request = mpi_request; 
     300      request->mpi_request = new ::MPI_Request(mpi_request); 
    301301      request->type = 1;    // used in wait 
    302302      request->comm = comm; 
Note: See TracChangeset for help on using the changeset viewer.