There is a chapter in the MPI standard about this. Usually, people
will use comm accept/connect to do such kind of things. No need to
have your own communication protocol.
On Mar 25, 2008, at 10:32 AM, slimtimmy_at_[hidden] wrote:
> I'm new to OpenMPI and would like to know whether there is a common
> for a caller of mpirun to communicate with the mpi processes.
> I have a setup where one process is responsible for distributing jobs
> to other mpi processes and collecting the respective results
> Now for example I want to enable communication between the master
> process and a GUI application. The GUI should be notified by the
> about progress being made and it should also be possible for the GUI
> send commands to the master (so the communication should be possible
> both ways)
> Is stdin/stdout suitable? (is sending binary data a problem with this
> type of communication?) I also read that the MPI specification does
> say anything about the use of stdin/stdout. Is it safe to assume that
> most common MPI implementations support it?
> Another way to deal with the problem would be to write some custom
> network code that is used alongside the MPI communication. What is
> commonly used in this situation?
> Best regards
> users mailing list
- application/pkcs7-signature attachment: smime.p7s