Merge branch 'master' of https://github.com/open-mpi/ompi
Этот коммит содержится в:
Коммит
27dfcaaab2
@ -11,7 +11,7 @@
|
|||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2006-2011 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2006-2011 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2007-2014 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2014 Intel Corporation. All rights reserved.
|
* Copyright (c) 2014 Intel Corporation. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
@ -460,7 +460,12 @@ static void launch_daemons(int fd, short args, void *cbdata)
|
|||||||
static int plm_alps_terminate_orteds(void)
|
static int plm_alps_terminate_orteds(void)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
orte_job_t *jdata;
|
||||||
|
|
||||||
|
OPAL_OUTPUT_VERBOSE((10, orte_plm_base_framework.framework_output,
|
||||||
|
"%s plm:alps: terminating orteds",
|
||||||
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME)));
|
||||||
|
|
||||||
/* deregister the waitpid callback to ensure we don't make it look like
|
/* deregister the waitpid callback to ensure we don't make it look like
|
||||||
* alps failed when it didn't. Since the alps may have already completed,
|
* alps failed when it didn't. Since the alps may have already completed,
|
||||||
* do NOT ERROR_LOG any return code to avoid confusing, duplicate error
|
* do NOT ERROR_LOG any return code to avoid confusing, duplicate error
|
||||||
@ -475,6 +480,12 @@ static int plm_alps_terminate_orteds(void)
|
|||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jdata = orte_get_job_data_object(ORTE_PROC_MY_NAME->jobid);
|
||||||
|
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_DAEMONS_TERMINATED);
|
||||||
|
|
||||||
|
OPAL_OUTPUT_VERBOSE((10, orte_plm_base_framework.framework_output,
|
||||||
|
"%s plm:alps: terminated orteds",
|
||||||
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME)));
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user