Mpi send and recv are blocking, while you can exit bcast even if other processes haven't receive the bcast yet. A general rule of thumb is mpi calls are optimized and almost always perform better than if you were to manage the communication youself.
On 9/1/10, ananda.mu...@wipro.com <ananda.mu...@wipro.com> wrote: > Hi > > > > If I replace MPI_Bcast() with a paired MPI_Send() and MPI_Recv() calls, > what kind of impact does it have on the performance of the program? Are > there any benchmarks of MPI_Bcast() vs paired MPI_Send() and > MPI_Recv()?? > > > > Thanks > > Ananda > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient should > check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -- Sent from my mobile device David Zhang University of California, San Diego