Some Solutions to the ``Unsafe'' Problem


Up: Buffering issues Next: MPI's Non-Blocking Operations Previous: Blocking and Non-Blocking communication


  • Order the operations more carefully:


  • Supply receive buffer at same time as send, with MPI_Sendrecv:


  • Use non-blocking operations:


  • Use MPI_Bsend



    Up: Buffering issues Next: MPI's Non-Blocking Operations Previous: Blocking and Non-Blocking communication