Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] MPI_Brecv vs multiple MPI_Irecv
From: Robert Kubrick (robertkubrick_at_[hidden])
Date: 2008-08-26 16:17:03


 From a performance point of view, which one is better:

MPI_Battach(10*sizeof(MSG))
MPI_Brecv()

or

MPI_recv_init()
MPI_recv_init()
MPI_recv_init()
... /* 10 recv handlers */
MPI_Start(all recv)
MPI_Waitany()

I understand MPI_Brecv will require an extra message copy, from the
attached buffer to the MPI_Brecv() buffer. I'd like to know if there
other differences between the two methods.

Thanks,
Rob