Boost logo

Boost Users :

Subject: Re: [Boost-users] boostMPI asychronous communication
From: Riccardo Murri (riccardo.murri_at_[hidden])
Date: 2010-06-29 12:24:53


Hi Jack,

please find attached a sample program that does a master/worker
exchange, along the lines of the pseudocode you posted yesterday.

Caveat: I have not been able to have the master wait on *all* messages
sent to all workers in one single call -- I get MPI_ERR_TRUNCATE if
the number of messages sent to a single worker is > 1.
I'm afraid I'm not experienced enough with OpenMPI or Boost.MPI to
debug it any further.

Instead the code sends a message to each worker, waits for the reply,
then sends another batch, etc. -- this is akin to having a barrier
after each round of computation.

Best regards,
Riccardo




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net