!5526 Parent process doesn't exit any more.

Merge pull request !5526 from ZhangQinghua/master
pull/5526/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 54e2564cd7

@ -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)) {

Loading…
Cancel
Save