Hi,
> Henrik -- Please be sure to let us know if this solves your problems.
I have now discovered, that the underlying problem is the use of
"nanosleep". For some reason, this function, as well as usleep and select,
disables the signal handlers.
I have e.g. one process running a menu, which most of the time is waiting
for user input. This process must call nanosleep or usleep, since it
otherwise would be using up all CPU time. The signal handlers are
therefore disabled, when the process is given the SIGINT signal.
In another process, I have tried to replace a usleep with an MPI_Recv.
However, this also results in the process using up all CPU time.
Does anyone have a suggestion?
Best regards,
Henrik Nagel
|