* Use openmpi-default-hostfile instead of hosts (since there will be a
/etc/hosts if you install like an RPM would, with sysconfdir as /etc) This commit was SVN r4939.
Этот коммит содержится в:
родитель
48c81e0d59
Коммит
40d6ec1271
@ -38,7 +38,3 @@ install-data-local:
|
||||
$(INSTALL_DATA) $$d$$file $(DESTDIR)$(sysconfdir)/$$f; \
|
||||
fi; \
|
||||
done
|
||||
@ if test ! -r $(DESTDIR)$(sysconfdir)/hosts && test ! -h $(DESTDIR)$(sysconfdir)/hosts ; then \
|
||||
echo "Creating hosts symlink" ; \
|
||||
( cd $(DESTDIR)$(sysconfdir) ; ln -s openmpi-default-hostfile hosts ) \
|
||||
fi
|
||||
|
@ -91,7 +91,7 @@ static char* orte_rds_hostfile_param_register_string(
|
||||
*/
|
||||
static int orte_rds_hostfile_open(void)
|
||||
{
|
||||
char *path = orte_os_path(false, ORTE_SYSCONFDIR, "hosts", NULL);
|
||||
char *path = orte_os_path(false, ORTE_SYSCONFDIR, "openmpi-default-hostfile", NULL);
|
||||
OBJ_CONSTRUCT(&mca_rds_hostfile_component.lock, ompi_mutex_t);
|
||||
mca_rds_hostfile_component.debug = orte_rds_hostfile_param_register_int("debug",1);
|
||||
mca_rds_hostfile_component.path = orte_rds_hostfile_param_register_string("path", path);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user