LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jonathan Eckstein (jeckstei_at_[hidden])
Date: 2005-06-30 11:47:23


You can create a communicator for the hydrodyamics processor, and use
that communicator instead of MPI_COMM_WORLD. Technically, your question
was not LAM-specific, but a general MPI question.

   Jonathan

ertheriault_at_[hidden] wrote:
> Hi, I'm writing a program that uses many computers to calculate the
> hydrodynamics of a system and one computer to calculate the
> gravity-related parts. I've been using calls like mpi_bcast and
> mpi_allreduce to share the particles' hydrodynamic information between
> machines, but this, as far as I know, requires the participation of the
> gravity computer along with the other machines. I do not want the gravity
> computer to waste time with communication about the hydrodynamics. I was
> wondering if there are functions like mpi_bcast that can give information
> to all the processors except one. Or perhaps there's another way to do it
> using these calls in a different way? Thanks very much.
>
> Eric
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/