LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Neil Storer (Neil.Storer_at_[hidden])
Date: 2004-01-27 19:02:06


Rodrigo,

On my AIX system it says that Signal 22 = SIGTTOU

This signal is generated when a BACKGROUND process attempts to write to
its control terminal (tty). By default a background process IS allowed
to write to its control terminal, but you can specify that such a write
is to generate this signal instead.

Are you running these processes in the background e.g.

        mpirun ... &

You will get SIGTTIN if you try to read from STDIN in a program run in
the background, but you have to set the signal action of SIGTTOU to
non-default to get that one to fire. So your guess is as good as mine
I'm afraid.

Regards
        Neil

Rodrigo Porfirio da Silva Sacchi wrote:
> What does it means signal 22 (sigttou)?
>
> What's tty?
>
> I need to solve this, but I do not know as. Somebody can give an aid?
>
> During the execution of my program, the following error happens:
>
> MPI_Cancel: invalid argument: Invalid argument (rank 0, MPI_COMM_WORLD)
> Rank (0, MPI_COMM_WORLD): Call stack within LAM:
> Rank (0, MPI_COMM_WORLD): - MPI_Cancel()
> Rank (0, MPI_COMM_WORLD): - MPI_Test()
> Rank (0, MPI_COMM_WORLD): - main()
>
> -----------------------------------------------------------------------------
> One of the processes started by mpirun has exited with a nonzero exit
> code. This typically indicates that the process finished in error.
> If your process did not finish in error, be sure to include a "return
> 0" or "exit(0)" in your C code before exiting the application.
>
> PID 1416 failed on node n0 (200.17.52.152) with exit status 22.
> -----------------------------------------------------------------------------
>
> Thanks.
> Rodrigo Sacchi.
> mailto:rpss_at_[hidden]
>
> ----------------------------------------------------------
> Departamento de Computação e Estatística (www.dct.ufms.br)
> Universidade Federal de Mato Grosso do Sul (www.ufms.br)
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

-- 
+-----------------+---------------------------------+------------------+
| Neil Storer     |    Head: Systems S/W Section    | Operations Dept. |
+-----------------+---------------------------------+------------------+
| ECMWF,          | email: neil.storer_at_[hidden]    |    //=\\  //=\\  |
| Shinfield Park, | Tel:   (+44 118) 9499353        |   //   \\//   \\ |
| Reading,        |        (+44 118) 9499000 x 2353 | ECMWF            |
| Berkshire,      | Fax:   (+44 118) 9869450        | ECMWF            |
| RG2 9AX,        |                                 |   \\   //\\   // |
| UK              | URL:   http://www.ecmwf.int/    |    \\=//  \\=//  |
+--+--------------+---------------------------------+----------------+-+
    | ECMWF is the European Centre for Medium-Range Weather Forecasts |
    +-----------------------------------------------------------------+