1
1

Ensure that mpirun correctly selects the HNP ess component without attempting to init the PMI subsystem as mpirun won't be supported anyway, so let's avoid the error message. Also, daemons launched by the plm/slurm component must use the ess/slurm module as we cannot trust the Slurm PMI_Init functions to correctly tell us when PMI support is available.

Этот коммит содержится в:
Ralph Castain 2014-11-03 20:51:56 -05:00 коммит произвёл Ralph Castain
родитель c2454e7fbe
Коммит 738c3e1d72
2 изменённых файлов: 6 добавлений и 1 удалений

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

@ -347,7 +347,7 @@ static void launch_daemons(int fd, short args, void *cbdata)
/* Add basic orted command line options, including debug flags */ /* Add basic orted command line options, including debug flags */
orte_plm_base_orted_append_basic_args(&argc, &argv, orte_plm_base_orted_append_basic_args(&argc, &argv,
NULL, &proc_vpid_index, "slurm", &proc_vpid_index,
nodelist_flat); nodelist_flat);
free(nodelist_flat); free(nodelist_flat);

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

@ -849,6 +849,11 @@ int orterun(int argc, char *argv[])
free(tmp_env_var); free(tmp_env_var);
#endif #endif
/* force selection of the HNP ess module to avoid
* the PMI component attempting to initialize and
* generating a false error message */
putenv(OPAL_MCA_PREFIX"ess=hnp");
/* Intialize our Open RTE environment /* Intialize our Open RTE environment
* Set the flag telling orte_init that I am NOT a * Set the flag telling orte_init that I am NOT a
* singleton, but am "infrastructure" - prevents setting * singleton, but am "infrastructure" - prevents setting