Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

How to kill MPI program programatically

$
0
0

Dear all,

I am having problem destroying Intel MPI program, the original problem is described at this thread.

http://stackoverflow.com/questions/32222878/intel-mpi-mpirun-does-not-te...

I am using impi/5.0.2.044/intel64, and my program is launched with "mpirun -machinefile mymachinefile ./myprogram"

I followed the suggestion to have the runtime executing "kill -<signal> <pid>", but doesn't work for signal 1, 2, 9, 15.

 

I have tried to used I_MPI_DEBUG=5 and still no pid get printed.

Is there any environmental variable I can use to get ALL pids related to the current launch, so I can send a kill signal to each process? 

Or is there any setting that will ensure signals like keyboard interrupt will propagate to processes related?


Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>