Increment the init_count in the Slurm pmix components so they correctly respond to calls to pmix.initialized
Этот коммит содержится в:
родитель
cb15cc06e1
Коммит
d9b23c1054
@ -299,6 +299,9 @@ static int s1_init(void)
|
|||||||
/* setup any local envars we were asked to do */
|
/* setup any local envars we were asked to do */
|
||||||
mca_base_var_process_env_list(&environ);
|
mca_base_var_process_env_list(&environ);
|
||||||
|
|
||||||
|
/* increment the init count */
|
||||||
|
++pmix_init_count;
|
||||||
|
|
||||||
return OPAL_SUCCESS;
|
return OPAL_SUCCESS;
|
||||||
|
|
||||||
err_exit:
|
err_exit:
|
||||||
|
@ -268,6 +268,9 @@ static int s2_init(void)
|
|||||||
/* setup any local envars we were asked to do */
|
/* setup any local envars we were asked to do */
|
||||||
mca_base_var_process_env_list(&environ);
|
mca_base_var_process_env_list(&environ);
|
||||||
|
|
||||||
|
/* increment the init count */
|
||||||
|
++pmix_init_count;
|
||||||
|
|
||||||
return OPAL_SUCCESS;
|
return OPAL_SUCCESS;
|
||||||
err_exit:
|
err_exit:
|
||||||
PMI2_Finalize();
|
PMI2_Finalize();
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user