We are now using Intel oneAPI 2021.6 MPI library on Windows and Linux (used Intel MPI 2018.3 before).
Why does killing mpiexec.exe does not terminate the child processes on Windows?
With Intel MPI 2018.3 killing mpiexec(.exe) on Linux and Windows terminates all childs and returns.
Now on Windows, hydra_pmi_proxy.exe and it's childs remain after mpiexec.exe was killed.
This behavior is disturbing and was not expected!
We start with:
mpiexec.exe -np # -delegate -localroot -genvall -print-all-exitcodes -genv I_MPI_JOB_SIGNAL_PROPAGATION 1 -genv I_MPI_HYDRA_BSTRAP_KEEP_ALIVE 1
#path to program
We use I_MPI_HYDRA_BSTRAP_KEEP_ALIVE to be able to kill the process tree under mpiexec.exe with taskkill, otherwise no proper process tree kill is possible.
Nevertheless the process tree should completely terminate when mpiexec.exe is killed.
Thank you for posting in Intel Communities.
As this is a known issue, the developers are still working on a fix for this issue. We will get back to you if the issue is fixed in future oneAPI releases.
Thanks & Regards,