Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] MPI_Bcast() Vs paired MPI_Send() & MPI_Recv()
From: David Zhang (solarbikedz_at_[hidden])
Date: 2010-09-01 16:09:54

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.mudar_at_[hidden] <ananda.mudar_at_[hidden]> 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.

Sent from my mobile device
David Zhang
University of California, San Diego