LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-05-09 07:34:17


On Thu, 8 May 2003, Rohan Inamdar wrote:

> I am using MPI_Comm_spawn to spawn processes on the fly. However, the
> output of the newly spawned processes does not get displayed on any of
> the machines (displays), including the machine from where i run the
> application. Is this the expected behavior.

Unfortunately, yes. LAM's current support for stdio redirection upon
spawn is somewhat limited.

> Is there any way to associate TTY to the child processes while using
> MPI_Comm_spawn. I want newly spawned processes dump there output to the
> respective machine, and not send to the host machine through lamd.

Your best bet is probably to either close file descriptors 0 and 1 and
re-open them into files, or just direct all output to files directly.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/