Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] communicating with the caller
From: George Bosilca (bosilca_at_[hidden])
Date: 2008-03-25 11:06:44


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, slimtimmy_at_[hidden] 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
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users



  • application/pkcs7-signature attachment: smime.p7s