* we really do want to look in sysconfdir, not pkgdatadir for the hostfile
This commit was SVN r2846.
Этот коммит содержится в:
родитель
291d7bfcaf
Коммит
d8bb1db5f9
@ -5,7 +5,7 @@
|
|||||||
include $(top_ompi_srcdir)/config/Makefile.options
|
include $(top_ompi_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-DOMPI_PKGDATADIR="\"$(pkgdatadir)\""
|
-DOMPI_SYSCONFDIR="\"$(sysconfdir)\""
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libmca_llm_hostfile.la
|
noinst_LTLIBRARIES = libmca_llm_hostfile.la
|
||||||
libmca_llm_hostfile_la_SOURCES = \
|
libmca_llm_hostfile_la_SOURCES = \
|
||||||
|
@ -56,7 +56,7 @@ static int param_priority;
|
|||||||
int
|
int
|
||||||
mca_llm_hostfile_component_open(void)
|
mca_llm_hostfile_component_open(void)
|
||||||
{
|
{
|
||||||
char *default_path = ompi_os_path(false, OMPI_PKGDATADIR,
|
char *default_path = ompi_os_path(false, OMPI_SYSCONFDIR,
|
||||||
"openmpi-default-hostfile", NULL);
|
"openmpi-default-hostfile", NULL);
|
||||||
param_filename = mca_base_param_register_string("llm",
|
param_filename = mca_base_param_register_string("llm",
|
||||||
"hostfile",
|
"hostfile",
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user