Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Brignone, Sergio (sbrignone_at_[hidden])
Date: 2006-05-01 19:48:06

Some more hints to the issue:

If I start process A and this process spawns processes B and C (using
MPI_Comm_spawn), stdout works fine only for process A.


-----Original Message-----
From: Brignone, Sergio
Sent: Monday, May 01, 2006 1:17 PM
To: Open MPI Users
Subject: Re: [OMPI users] stdout in AIX

Hi Brian,

I tried what you suggested (piping out stdout) but it did't work.


-----Original Message-----
From: Brian Barrett [mailto:brbarret_at_[hidden]]
Sent: Monday, May 01, 2006 11:14 AM
To: Open MPI Users
Subject: Re: [OMPI users] stdout in AIX

On May 1, 2006, at 1:58 PM, Brignone, Sergio wrote:

> I've been using open-mpi in Solaris for a while and now I need to use
> open-mpi in AIX.
> I compiled the latest stable open-mpi version and run one of the
> simplest possible tests (see hello0.c in attached zip)
> To my surprise, it didn't show anything to the screen when running
> with
> mpirun:
> mainaix:/xahome/userx> ./hello0
> Process 0 of 1 is on ecc1ap04
> Process 0 says Hello Word!
> mainaix:/xahome/userx > mpirun -n 4 hello0
> mainaix:/xahome/userx >
> I also tried with stderr instead of stdout and I got the same result.
> Now, if I open a file and stream the output to the file (I just
> used one
> file per process, I didn't use mpi-io), it works!
> Any ideas about the reason of this behavior?

It's possible that we broke pty handling on AIX. Just out of
curiosity, what happens if you try something like:

   mpirun -np 1 uptime | cat

This will cause mpirun to think stdout is connected to a pipe instead
of a pty, so we won't try to use our pty code (and default to
standard pipes for stdio forwarding).


   Brian Barrett
   Open MPI developer