Changeset 1746 for XIOS/dev/dev_trunk_omp/extern/src_ep_dev/ep_probe.cpp
- Timestamp:
- 10/17/19 17:22:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/extern/src_ep_dev/ep_probe.cpp
r1646 r1746 24 24 ::MPI_Message mpi_message; 25 25 26 #ifdef _openmpi 27 #pragma omp critical (_mpi_call) 26 //#ifdef _openmpi 27 ::MPI_Improbe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_message, &mpi_status); 28 /*#pragma omp critical (_mpi_call) 28 29 { 29 30 ::MPI_Iprobe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_status); … … 32 33 ::MPI_Mprobe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), &mpi_message, &mpi_status); 33 34 } 34 } 35 #elif _intelmpi36 ::MPI_Improbe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_message, &mpi_status);37 #endif35 }*/ 36 //#elif _intelmpi 37 //::MPI_Improbe(src<0? MPI_ANY_SOURCE : src, tag<0? MPI_ANY_TAG: tag, to_mpi_comm(comm->mpi_comm), flag, &mpi_message, &mpi_status); 38 //#endif 38 39 39 40 status->mpi_status = new ::MPI_Status(mpi_status);
Note: See TracChangeset
for help on using the changeset viewer.