Really(tm) fix the llm_hostfile_hosfile -> -hostfile issue.
Thanks Jeff. This commit was SVN r4234.
Этот коммит содержится в:
родитель
f21536202f
Коммит
813a5b2062
@ -205,7 +205,7 @@ main(int argc, char *argv[])
|
|||||||
* an API rather than setenv. But we don't have such an API just
|
* an API rather than setenv. But we don't have such an API just
|
||||||
* yet. */
|
* yet. */
|
||||||
char *buf = NULL;
|
char *buf = NULL;
|
||||||
asprintf(&buf, "OMPI_MCA_hostfile=%s",
|
asprintf(&buf, "OMPI_MCA_llm_hostfile_hostfile=%s",
|
||||||
ompi_cmd_line_get_param(cmd_line, "hostfile", 0, 0));
|
ompi_cmd_line_get_param(cmd_line, "hostfile", 0, 0));
|
||||||
/* yeah, it leaks. Can't do nothin' about that */
|
/* yeah, it leaks. Can't do nothin' about that */
|
||||||
putenv(buf);
|
putenv(buf);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user