Always register the nspace for jobs
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
7241043809
Коммит
2f85db9791
@ -13,7 +13,7 @@
|
|||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
||||||
* Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
|
* Copyright (c) 2013-2018 Intel, Inc. All rights reserved.
|
||||||
* Copyright (c) 2014 Mellanox Technologies, Inc.
|
* Copyright (c) 2014 Mellanox Technologies, Inc.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2014-2016 Research Organization for Information Science
|
* Copyright (c) 2014-2016 Research Organization for Information Science
|
||||||
@ -77,12 +77,6 @@ int orte_pmix_server_register_nspace(orte_job_t *jdata, bool force)
|
|||||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||||
ORTE_JOBID_PRINT(jdata->jobid));
|
ORTE_JOBID_PRINT(jdata->jobid));
|
||||||
|
|
||||||
/* if this job has no local procs, then no need to register
|
|
||||||
* it unless the job info is needed by connecting jobs */
|
|
||||||
if (!force && 0 == jdata->num_local_procs) {
|
|
||||||
return ORTE_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* setup the info list */
|
/* setup the info list */
|
||||||
info = OBJ_NEW(opal_list_t);
|
info = OBJ_NEW(opal_list_t);
|
||||||
uid = geteuid();
|
uid = geteuid();
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user