Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Outputting rank and size for all outputs.
From: Ashley Pittman (apittman_at_[hidden])
Date: 2008-07-11 10:29:05

On Fri, 2008-07-11 at 07:59 -0600, Ralph H Castain wrote:
> Not until next week's meeting, but I would guess we would simply prepend the
> rank. The issue will be how often to tag the output since we write it in
> fragments to avoid blocking - so do we tag the fragment, look for newlines
> and tag each line, etc.

I don't know if you are familiar with it but pdsh is a very useful
parallel shell that uses a "$HOSTNAME: " syntax, going along with this
there is a dshbak command which can take output in that form and present
it to the user in a number of different ways. It would be a nice bonus
if openmpi was to also able to benefit from this command.

There is a dshbak manpage on-line but unfortunately no examples.

Feel free to contact me on or off-list if I'm you want a example or
further information.