提交 54e2564c 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!5526 Parent process doesn't exit any more.

Merge pull request !5526 from ZhangQinghua/master
......@@ -188,11 +188,6 @@ void DuplexPipe::SignalHandler::SigChildHandler(int sig) {
if (!dp_.expired()) {
dp_.lock()->Close();
}
// When run multiple processes by 'mpirun',
// parent process never quit even Exception happens,
// which caused by MPI_Finalize() never returned.
exit(-1);
} else if (WIFSTOPPED(status)) {
DP_INFO << "Child stopped, sig: " << WSTOPSIG(status) << ", pid: " << pid;
} else if (WIFSIGNALED(status)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册