Fixed MPI_Abort correctly by pulling through the orte_rmgr to use when terminating processes.
This commit was SVN r5201.
Этот коммит содержится в:
родитель
398857aba0
Коммит
c2898fd946
@ -25,6 +25,7 @@
|
|||||||
#include "util/proc_info.h"
|
#include "util/proc_info.h"
|
||||||
#include "runtime/runtime.h"
|
#include "runtime/runtime.h"
|
||||||
#include "mca/ns/ns.h"
|
#include "mca/ns/ns.h"
|
||||||
|
#include "mca/rmgr/rmgr.h"
|
||||||
|
|
||||||
#include "event/event.h"
|
#include "event/event.h"
|
||||||
|
|
||||||
@ -48,9 +49,8 @@ abort_procs(ompi_proc_t **procs, int proc_count,
|
|||||||
}
|
}
|
||||||
if (jobid == my_jobid) continue;
|
if (jobid == my_jobid) continue;
|
||||||
|
|
||||||
#if 0
|
killret = orte_rmgr.terminate_job(jobid);
|
||||||
killret = ompi_rte_terminate_job(jobid, 0);
|
|
||||||
#endif
|
|
||||||
if (OMPI_SUCCESS != killret) ret = killret;
|
if (OMPI_SUCCESS != killret) ret = killret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,11 +88,8 @@ ompi_mpi_abort(struct ompi_communicator_t* comm,
|
|||||||
comm->c_local_group->grp_proc_count,
|
comm->c_local_group->grp_proc_count,
|
||||||
my_jobid);
|
my_jobid);
|
||||||
|
|
||||||
#if 0
|
|
||||||
ret = ompi_rte_terminate_job(my_jobid, 0);
|
ret = orte_rmgr.terminate_job(my_jobid);
|
||||||
#else
|
|
||||||
ret = OMPI_ERROR;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (OMPI_SUCCESS == ret) {
|
if (OMPI_SUCCESS == ret) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user