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. :-)
On Jan 22, 2009, at 1:58 AM, jody wrote:
> 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
> users mailing list