I have installed signal handlers in my process for SIGINT signal. I want the following behavior - whenever I press Ctrl + c, mpiexec should pass this signal to individual processes and the user-defined signal handler should be called - which does the clean up process (to remove semaphore) and then finally kills the process.
I read in the reference manual that _MPI_JOB_SIGNAL_PROPAGATION environment variable is able to propagate SIGINT signal. However, even after passing this variable to mpiexec, the indiviual processes are getting killed by SIGKILL signal and not by SIGINT and as a result user defined signal handler is not being called to do the clean up process.
Urgent help is required.
Thanks in advance.