1
1

Merge pull request #1594 from rhc54/topic/size

Correctly set the #procs in the job to "job_size", and the max_procs to "univ_size"
Этот коммит содержится в:
rhc54 2016-04-27 13:01:12 -07:00
родитель 936dfe5c26 75dc4c305a
Коммит 39137770ae

Просмотреть файл

@ -161,7 +161,17 @@ static int rte_init(void)
error = "getting univ size";
goto error;
}
orte_process_info.max_procs = u32;
/* get job size */
OPAL_MODEX_RECV_VALUE(ret, OPAL_PMIX_JOB_SIZE,
ORTE_PROC_MY_NAME, &u32ptr, OPAL_UINT32);
if (OPAL_SUCCESS != ret) {
error = "getting job size";
goto error;
}
orte_process_info.num_procs = u32;
/* push into the environ for pickup in MPI layer for
* MPI-3 required info key
*/