btl_openib_component.c: remove inline logic and use 2 calls to show_help
The contrib/check-help-strings.pl gets confused if the topic is an inline logic check, so separate it into two calls to show_help. This commit was SVN r32455.
Этот коммит содержится в:
родитель
b0897031f0
Коммит
2d2534a1bc
@ -10,7 +10,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2006-2013 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2006-2009 Mellanox Technologies. All rights reserved.
|
* Copyright (c) 2006-2009 Mellanox Technologies. All rights reserved.
|
||||||
* Copyright (c) 2006-2014 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2006-2014 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
@ -3396,12 +3396,24 @@ error:
|
|||||||
ibv_get_device_name(endpoint->qps[qp].qp->lcl_qp->context->device);
|
ibv_get_device_name(endpoint->qps[qp].qp->lcl_qp->context->device);
|
||||||
|
|
||||||
if (IBV_WC_RNR_RETRY_EXC_ERR == wc->status) {
|
if (IBV_WC_RNR_RETRY_EXC_ERR == wc->status) {
|
||||||
opal_show_help("help-mpi-btl-openib.txt",
|
// The show_help checker script gets confused if the topic
|
||||||
BTL_OPENIB_QP_TYPE_PP(qp) ?
|
// is an inline logic check, so separate it into two calls
|
||||||
"pp rnr retry exceeded" :
|
// to show_help.
|
||||||
"srq rnr retry exceeded", true,
|
if (BTL_OPENIB_QP_TYPE_PP(qp)) {
|
||||||
opal_proc_local_get()->proc_hostname, device_name,
|
opal_show_help("help-mpi-btl-openib.txt",
|
||||||
peer_hostname);
|
"pp rnr retry exceeded",
|
||||||
|
true,
|
||||||
|
opal_proc_local_get()->proc_hostname,
|
||||||
|
device_name,
|
||||||
|
peer_hostname);
|
||||||
|
} else {
|
||||||
|
opal_show_help("help-mpi-btl-openib.txt",
|
||||||
|
"srq rnr retry exceeded",
|
||||||
|
true,
|
||||||
|
opal_proc_local_get()->proc_hostname,
|
||||||
|
device_name,
|
||||||
|
peer_hostname);
|
||||||
|
}
|
||||||
} else if (IBV_WC_RETRY_EXC_ERR == wc->status) {
|
} else if (IBV_WC_RETRY_EXC_ERR == wc->status) {
|
||||||
opal_show_help("help-mpi-btl-openib.txt",
|
opal_show_help("help-mpi-btl-openib.txt",
|
||||||
"pp retry exceeded", true,
|
"pp retry exceeded", true,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user