Since we have such a flag in orte_process_info, set it to true when we do mpi_init so we know we have an mpi_proc (simplifies later logic checks)
This commit was SVN r20205.
Этот коммит содержится в:
родитель
17e1911afa
Коммит
5f26a8b084
@ -338,7 +338,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Setup ORTE - note that we are not a tool */
|
/* Setup ORTE - note that we are not a tool */
|
||||||
|
orte_process_info.mpi_proc = true;
|
||||||
if (ORTE_SUCCESS != (ret = orte_init(ORTE_NON_TOOL))) {
|
if (ORTE_SUCCESS != (ret = orte_init(ORTE_NON_TOOL))) {
|
||||||
error = "ompi_mpi_init: orte_init failed";
|
error = "ompi_mpi_init: orte_init failed";
|
||||||
goto error;
|
goto error;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user