Add requested key and job-level info
Этот коммит содержится в:
родитель
0a29f5cb77
Коммит
0ba02821e6
@ -95,6 +95,7 @@ BEGIN_C_DECLS
|
|||||||
/* size info */
|
/* size info */
|
||||||
#define OPAL_PMIX_UNIV_SIZE "pmix.univ.size" // (uint32_t) #procs in this nspace
|
#define OPAL_PMIX_UNIV_SIZE "pmix.univ.size" // (uint32_t) #procs in this nspace
|
||||||
#define OPAL_PMIX_JOB_SIZE "pmix.job.size" // (uint32_t) #procs in this job
|
#define OPAL_PMIX_JOB_SIZE "pmix.job.size" // (uint32_t) #procs in this job
|
||||||
|
#define OPAL_PMIX_JOB_NUM_APPS "pmix.job.napps" // (uint32_t) #apps in this job
|
||||||
#define OPAL_PMIX_APP_SIZE "pmix.app.size" // (uint32_t) #procs in this app
|
#define OPAL_PMIX_APP_SIZE "pmix.app.size" // (uint32_t) #procs in this app
|
||||||
#define OPAL_PMIX_LOCAL_SIZE "pmix.local.size" // (uint32_t) #procs in this job on this node
|
#define OPAL_PMIX_LOCAL_SIZE "pmix.local.size" // (uint32_t) #procs in this job on this node
|
||||||
#define OPAL_PMIX_NODE_SIZE "pmix.node.size" // (uint32_t) #procs across all jobs on this node
|
#define OPAL_PMIX_NODE_SIZE "pmix.node.size" // (uint32_t) #procs across all jobs on this node
|
||||||
|
@ -279,6 +279,13 @@ int orte_pmix_server_register_nspace(orte_job_t *jdata)
|
|||||||
kv->data.uint32 = jdata->num_procs;
|
kv->data.uint32 = jdata->num_procs;
|
||||||
opal_list_append(info, &kv->super);
|
opal_list_append(info, &kv->super);
|
||||||
|
|
||||||
|
/* number of apps in this job */
|
||||||
|
kv = OBJ_NEW(opal_value_t);
|
||||||
|
kv->key = strdup(OPAL_PMIX_JOB_NUM_APPS);
|
||||||
|
kv->type = OPAL_UINT32;
|
||||||
|
kv->data.uint32 = jdata->num_apps;
|
||||||
|
opal_list_append(info, &kv->super);
|
||||||
|
|
||||||
/* local size */
|
/* local size */
|
||||||
kv = OBJ_NEW(opal_value_t);
|
kv = OBJ_NEW(opal_value_t);
|
||||||
kv->key = strdup(OPAL_PMIX_LOCAL_SIZE);
|
kv->key = strdup(OPAL_PMIX_LOCAL_SIZE);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user