Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Handling output of processes
From: Ralph Castain (rhc_at_[hidden])
Date: 2009-01-22 08:33:30


If you are willing/able to upgrade to 1.3, you will find a new utility
called "ompi-iof" (or "orte-iof") that allows you to capture the
output from any specified rank or combination of ranks. Note that the
output is copied to the tool, so it will also still arrive at the
output of mpirun.

If you want to build your own version of that utility, you can use
this tool as an example of how to do it - the source is at orte/tools/
orte-iof. Feel free to ask questions.

If you need to do this with a prior release....well, I'm afraid it
won't work. :-)

Ralph

On Jan 22, 2009, at 1:58 AM, jody wrote:

> Hi
> I have a small cluster consisting of 9 computers (8x2 CPUs, 1x4 CPUs).
> I would like to be able to observe the output of the processes
> separately during an mpirun.
>
> What i currently do is to apply the mpirun to a shell script which
> opens a xterm for each process,
> which then starts the actual application.
>
> This works, but is a bit complicated, e.g. finding the window you're
> interested in among 19 others.
>
> So i was wondering is there a possibility to capture the processes'
> outputs separately, so
> i can make an application in which i can switch between the different
> processor outputs?
> I could imagine that could be done by wrapper applications which
> redirect the output over a TCP
> socket to a server application.
>
> But perhaps there is an easier way, or something like this alread
> does exist?
>
> Thank You
> Jody
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users