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.

  george.

On Mar 25, 2008, at 10:32 AM, slimti...@gmx.de wrote:
I'm new to OpenMPI and would like to know whether there is a common way for a caller of mpirun to communicate with the mpi processes. Basically
I have a setup where one process is responsible for distributing jobs
to other mpi processes and collecting the respective results afterwards.
Now for example I want to enable communication between the master
process and a GUI application. The GUI should be notified by the master about progress being made and it should also be possible for the GUI to send commands to the master (so the communication should be possible in
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 not
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
Timm


_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to