> What is a SIGPIPE?
It means that you are trying to write into a pipe/stream which has been closed
(for multiple reasons) by the reader. When you create a tcp connection and
for some reason, if one of the processes closes the connection, then the
following will ensue when the other process tries to use the connection:
1. send() or an attempt to write will generate a SIGPIPE.
2. recv() or an attempt to receieve will generate an EOF.
In LAM, a write to a broken pipe means that the MPI call (MPI_Send for
e.g.,) would fail and since the default error handler for MPI is
MPI_ERRORS_ARE_FATAL, we will terminate the job and hence you get the
error message below.
"Google"ing for this will yield a lot of information regarding this.
Hope this helps.
Anju
>
> What does it means "Broken pipe: write to pipe with no readers"?
>
> Thanks!
>
> -----------------------------------------------------------------------------
> 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 1550 failed on node n0 (200.17.52.151) due to signal 13.
> -----------------------------------------------------------------------------
>
> Rodrigo Sacchi
> 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/
>
|