LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2003-11-10 11:20:18


On Monday, November 10, 2003, at 02:54 AM, Satya Gosula wrote:

> Can we signal a group of mpi processes and when those processes
> catch that signal make them execute some function? If so how do we do
> it?

The answer is it depends. See section 2.8.2 of the MPI-1.1
(http://www.mpi-forum.org/) standard for notes on using POSIX signals
in MPI applications. With LAM, it is not possible to use MPI inside a
signal handler.

As for actually using POSIX signals, I would recommend seeing the
signal(3) and sigaction(2) man pages.

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/