Intel® MPI Library User's Guide for Linux* OS
If resources allocated to a job exceed the limit, most job schedulers terminate the job by sending a signal to all processes.
For example, Torque* sends SIGTERM three times to a job and if this job is still alive, SIGKILL will be sent to terminate it.
For Oracle Grid Engine*, the default signal to terminate a job is SIGKILL. Intel® MPI Library is unable to process or catch that signal causing mpirun to kill the entire job. You can change the value of the termination signal through the following queue configuration:
$ qconf –sql
$ qconf -mq <queue_name>