Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] communicating with the caller
From: slimtimmy_at_[hidden]
Date: 2008-03-25 10:32:17

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