Setup tango sighandler before the calling MPI_Init
The Tango device server would not cleanup properly and return with error code 2
(or 130
(128+2) in bash):
^C[mpiexec@lid00lima2] Sending Ctrl-C to processes as requested
[mpiexec@lid00lima2] Press Ctrl-C again to force abort
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 3069990 RUNNING AT lid00lima2
= EXIT CODE: 2
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Interrupt (signal 2)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions