1
1

To modify the default connection method, a "btl_openib_connect <arg>"

should be passed via commandline.  However, there is a slight coding
bug in the openib connect code.  When registering the name of the
option, mca_base_param_reg_string will prepend the relevant info
("btl_openib_" in this case).  The existing code will require
"btl_openib_btl_openib_connect" instead of "btl_openib_connect".
This patch corrects this.

This commit was SVN r16937.
Этот коммит содержится в:
Jon Mason 2007-12-11 20:36:36 +00:00
родитель d77c2430c0
Коммит e05cd7b0e4

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

@ -67,7 +67,7 @@ int ompi_btl_openib_connect_base_open(void)
/* For XRC qps we must to use XOOB connection manager */
if (mca_btl_openib_component.num_xrc_qps > 0) {
mca_base_param_reg_string(&mca_btl_openib_component.super.btl_version,
"btl_openib_connect",
"connect",
b, false, false,
"xoob", &param);
if (0 != strcmp("xoob", param)) {
@ -79,7 +79,7 @@ int ompi_btl_openib_connect_base_open(void)
}
} else { /* For all others we should use OOB */
mca_base_param_reg_string(&mca_btl_openib_component.super.btl_version,
"btl_openib_connect",
"connect",
b, false, false,
"oob", &param);
if (0 != strcmp("oob", param)) {