diff --git a/lib/communicator/Communicator_mpi3.cc b/lib/communicator/Communicator_mpi3.cc index 46e4745c..e6e33d33 100644 --- a/lib/communicator/Communicator_mpi3.cc +++ b/lib/communicator/Communicator_mpi3.cc @@ -621,6 +621,17 @@ void CartesianCommunicator::SendToRecvFromBegin(std::vector &lis } } +double CartesianCommunicator::StencilSendToRecvFrom( void *xmit, + int dest, + void *recv, + int from, + int bytes,int dir) +{ + std::vector list; + StencilSendToRecvFromBegin(list,xmit,dest,recv,from,bytes,dir); + StencilSendToRecvFromComplete(list,dir); +} + double CartesianCommunicator::StencilSendToRecvFromBegin(std::vector &list, void *xmit, int dest, diff --git a/lib/communicator/Communicator_mpit.cc b/lib/communicator/Communicator_mpit.cc index c0fb47fd..9a9b26d2 100644 --- a/lib/communicator/Communicator_mpit.cc +++ b/lib/communicator/Communicator_mpit.cc @@ -242,17 +242,12 @@ double CartesianCommunicator::StencilSendToRecvFromBegin(std::vector &waitall,int dir) +{ + // Do nothing +}; double CartesianCommunicator::StencilSendToRecvFrom(void *xmit, int xmit_to_rank, void *recv, @@ -266,17 +261,11 @@ double CartesianCommunicator::StencilSendToRecvFrom(void *xmit, // std::cout << " sending on communicator "< &waitall,int dir) -{ - // Do nothing -};