1
1

Fix location of the default hostfile. Thanks to Götz Waschk for

identifying the problem.

This commit was SVN r26441.
Этот коммит содержится в:
Jeff Squyres 2012-05-15 16:13:39 +00:00
родитель c228bd2311
Коммит dab7d36a81

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

@ -303,7 +303,7 @@ int orte_register_params(void)
false, false, NULL, &strval);
if (NULL == strval) {
/* nothing was given, so define the default */
asprintf(&orte_default_hostfile, "%s/etc/openmpi-default-hostfile", opal_install_dirs.prefix);
asprintf(&orte_default_hostfile, "%s/openmpi-default-hostfile", opal_install_dirs.sysconfdir);
/* flag that nothing was given */
orte_default_hostfile_given = false;
} else if (0 == strcmp(strval, "none")) {