Provide better messages when we don't find any included interfaces, and/or don't find any interfaces for use by OOB.
cmr=v1.7.5:reviewer=jsquyres This commit was SVN r30675.
Этот коммит содержится в:
родитель
72c0b89e8f
Коммит
fa7b686ccc
@ -21,6 +21,9 @@
|
|||||||
noinst_LTLIBRARIES = libmca_oob.la
|
noinst_LTLIBRARIES = libmca_oob.la
|
||||||
libmca_oob_la_SOURCES =
|
libmca_oob_la_SOURCES =
|
||||||
|
|
||||||
|
# pkgdata setup
|
||||||
|
dist_ompidata_DATA =
|
||||||
|
|
||||||
# local files
|
# local files
|
||||||
headers = oob.h
|
headers = oob.h
|
||||||
libmca_oob_la_SOURCES += $(headers)
|
libmca_oob_la_SOURCES += $(headers)
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
|
# Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
|
||||||
# reserved.
|
# reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -18,6 +19,8 @@
|
|||||||
# $HEADER$
|
# $HEADER$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
dist_ompidata_DATA += base/help-oob-base.txt
|
||||||
|
|
||||||
headers += \
|
headers += \
|
||||||
base/base.h
|
base/base.h
|
||||||
|
|
||||||
|
23
orte/mca/oob/base/help-oob-base.txt
Обычный файл
23
orte/mca/oob/base/help-oob-base.txt
Обычный файл
@ -0,0 +1,23 @@
|
|||||||
|
# -*- text -*-
|
||||||
|
#
|
||||||
|
# Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||||
|
# University Research and Technology
|
||||||
|
# Corporation. All rights reserved.
|
||||||
|
# Copyright (c) 2004-2006 The University of Tennessee and The University
|
||||||
|
# of Tennessee Research Foundation. All rights
|
||||||
|
# reserved.
|
||||||
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||||
|
# University of Stuttgart. All rights reserved.
|
||||||
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
|
# All rights reserved.
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved
|
||||||
|
# $COPYRIGHT$
|
||||||
|
#
|
||||||
|
# Additional copyrights may follow
|
||||||
|
#
|
||||||
|
# $HEADER$
|
||||||
|
#
|
||||||
|
#
|
||||||
|
[no-interfaces-avail]
|
||||||
|
No network interfaces were found for out-of-band communications. We require
|
||||||
|
at least one available network for out-of-band messaging.
|
@ -12,6 +12,7 @@
|
|||||||
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2014 Intel, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -29,6 +30,8 @@
|
|||||||
#include "opal/util/output.h"
|
#include "opal/util/output.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
|
|
||||||
|
#include "orte/util/show_help.h"
|
||||||
|
|
||||||
#include "orte/runtime/orte_globals.h"
|
#include "orte/runtime/orte_globals.h"
|
||||||
#include "orte/mca/oob/oob.h"
|
#include "orte/mca/oob/oob.h"
|
||||||
#include "orte/mca/oob/base/base.h"
|
#include "orte/mca/oob/base/base.h"
|
||||||
@ -116,7 +119,8 @@ int orte_oob_base_select(void)
|
|||||||
/* no support available means we really cannot run */
|
/* no support available means we really cannot run */
|
||||||
opal_output_verbose(5, orte_oob_base_framework.framework_output,
|
opal_output_verbose(5, orte_oob_base_framework.framework_output,
|
||||||
"mca:oob:select: Init failed to return any available transports");
|
"mca:oob:select: Init failed to return any available transports");
|
||||||
return ORTE_ERR_NOT_AVAILABLE;
|
orte_show_help("help-oob-base.txt", "no-interfaces-avail", true);
|
||||||
|
return ORTE_ERR_SILENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* provide them an index so we can track their usability in a bitmap */
|
/* provide them an index so we can track their usability in a bitmap */
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||||
# Copyright (c) 2012-2013 Los Alamos National Security, LLC.
|
# Copyright (c) 2012-2013 Los Alamos National Security, LLC.
|
||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
# Copyright (c) 2014 Intel, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -19,6 +20,8 @@
|
|||||||
# $HEADER$
|
# $HEADER$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
dist_ompidata_DATA = help-oob-tcp.txt
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
oob_tcp_component.h \
|
oob_tcp_component.h \
|
||||||
oob_tcp.h \
|
oob_tcp.h \
|
||||||
|
@ -41,7 +41,7 @@ communications and will therefore abort. Please correct the network
|
|||||||
specification and retry.
|
specification and retry.
|
||||||
#
|
#
|
||||||
[no-included-found]
|
[no-included-found]
|
||||||
None of the networks specified to be included for out-of-band communications
|
None of the TCP networks specified to be included for out-of-band communications
|
||||||
could be found:
|
could be found:
|
||||||
|
|
||||||
Value given: %s
|
Value given: %s
|
||||||
@ -49,17 +49,13 @@ could be found:
|
|||||||
Please revise the specification and try again.
|
Please revise the specification and try again.
|
||||||
#
|
#
|
||||||
[excluded-all]
|
[excluded-all]
|
||||||
The specified list of networks to be excluded for out-of-band communications
|
The specified list of networks to be excluded for TCP out-of-band communications
|
||||||
resulted in no networks being available:
|
resulted in no networks being available:
|
||||||
|
|
||||||
Value given: %s
|
Value given: %s
|
||||||
|
|
||||||
Please revise the specification and try again.
|
Please revise the specification and try again.
|
||||||
#
|
#
|
||||||
[no-interfaces-avail]
|
|
||||||
No network interfaces were found for out-of-band communications. We require
|
|
||||||
at least one available network for TCP-based messaging.
|
|
||||||
#
|
|
||||||
[invalid if_inexclude]
|
[invalid if_inexclude]
|
||||||
WARNING: An invalid value was given for oob_tcp_if_%s. This
|
WARNING: An invalid value was given for oob_tcp_if_%s. This
|
||||||
value will be ignored.
|
value will be ignored.
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2009-2013 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2009-2013 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
||||||
* Copyright (c) 2013 Intel, Inc. All rights reserved.
|
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
|
||||||
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
|
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
@ -589,8 +589,6 @@ static bool component_available(void)
|
|||||||
orte_show_help("help-oob-tcp.txt", "no-included-found", true, mca_oob_tcp_component.if_include);
|
orte_show_help("help-oob-tcp.txt", "no-included-found", true, mca_oob_tcp_component.if_include);
|
||||||
} else if (excluding) {
|
} else if (excluding) {
|
||||||
orte_show_help("help-oob-tcp.txt", "excluded-all", true, mca_oob_tcp_component.if_exclude);
|
orte_show_help("help-oob-tcp.txt", "excluded-all", true, mca_oob_tcp_component.if_exclude);
|
||||||
} else {
|
|
||||||
orte_show_help("help-oob-tcp.txt", "no-interfaces-avail", true);
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user