Let the nidmap functions update a new orte_process_info field as to the number of daemons in the system
This commit was SVN r23088.
Этот коммит содержится в:
родитель
10e410f454
Коммит
3ca0b4138b
@ -507,6 +507,8 @@ int orte_util_decode_nodemap(opal_byte_object_t *bo)
|
||||
if (ORTE_PROC_IS_HNP || ORTE_PROC_IS_DAEMON) {
|
||||
orte_process_info.num_procs = num_daemons;
|
||||
}
|
||||
/* update num_daemons */
|
||||
orte_process_info.num_daemons = num_daemons;
|
||||
|
||||
/* unpack any attributes that may have been included */
|
||||
n = 1;
|
||||
|
@ -45,6 +45,7 @@ ORTE_DECLSPEC orte_proc_info_t orte_process_info = {
|
||||
/* .hnp_pid = */ 0,
|
||||
/* .app_num = */ 0,
|
||||
/* .num_procs = */ 1,
|
||||
/* .num_daemons = */ 1,
|
||||
/* .num_nodes = */ 1,
|
||||
/* .nodename = */ NULL,
|
||||
/* .pid = */ 0,
|
||||
|
@ -82,6 +82,7 @@ struct orte_proc_info_t {
|
||||
pid_t hnp_pid; /**< hnp pid - used if singleton */
|
||||
orte_app_idx_t app_num; /**< our index into the app_context array */
|
||||
orte_vpid_t num_procs; /**< number of processes in this job */
|
||||
orte_vpid_t num_daemons; /**< number of daemons in system */
|
||||
int num_nodes; /**< number of nodes in the job */
|
||||
char *nodename; /**< string name for this node */
|
||||
pid_t pid; /**< Local process ID for this process */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user