Oops -- when converted from uint to int, -1 (the default value,
meaning "infinite") is no longer larger than the minimum required size. So put in an appropriate test to ensure that "infinite" was not requested. This commit was SVN r16142.
Этот коммит содержится в:
родитель
130a272cec
Коммит
33955a0ed0
@ -627,7 +627,8 @@ static int mca_btl_openib_mca_setup_qps(void)
|
|||||||
"This is not optimal configuration as memory will be waisted.\n");
|
"This is not optimal configuration as memory will be waisted.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (min_freelist_size > mca_btl_openib_component.ib_free_list_max) {
|
if (mca_btl_openib_component.ib_free_list_max > 0 &&
|
||||||
|
min_freelist_size > mca_btl_openib_component.ib_free_list_max) {
|
||||||
opal_show_help("help-mpi-btl-openib.txt", "freelist too small", true,
|
opal_show_help("help-mpi-btl-openib.txt", "freelist too small", true,
|
||||||
orte_system_info.nodename,
|
orte_system_info.nodename,
|
||||||
mca_btl_openib_component.ib_free_list_max,
|
mca_btl_openib_component.ib_free_list_max,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user