COMMON/UCX: rewording of hooks suggestion
- also updated output macro Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com> (cherry picked from commit c319cf9adefb69c78a73eb4a83a40dee5b697a53)
Этот коммит содержится в:
родитель
14c271f993
Коммит
bed8141088
@ -136,9 +136,8 @@ void opal_common_ucx_mca_proc_added(void)
|
|||||||
{
|
{
|
||||||
#if HAVE_DECL_UCM_TEST_EVENTS
|
#if HAVE_DECL_UCM_TEST_EVENTS
|
||||||
static int warned = 0;
|
static int warned = 0;
|
||||||
static char *mem_hooks_suggestion = "Try to add command line agrument "
|
static char *mem_hooks_suggestion = "Pls try adding --mca opal_common_ucx_opal_mem_hooks 1 "
|
||||||
"'--mca opal_common_ucx_opal_mem_hooks 1' to resolve "
|
"to mpirun/oshrun command line to resolve this issue.";
|
||||||
"this issue.";
|
|
||||||
ucs_status_t status;
|
ucs_status_t status;
|
||||||
|
|
||||||
if (!warned) {
|
if (!warned) {
|
||||||
|
@ -40,14 +40,10 @@ BEGIN_C_DECLS
|
|||||||
_MCA_COMMON_UCX_QUOTE(_x)
|
_MCA_COMMON_UCX_QUOTE(_x)
|
||||||
|
|
||||||
#define MCA_COMMON_UCX_ERROR(...) \
|
#define MCA_COMMON_UCX_ERROR(...) \
|
||||||
opal_output_verbose(0, opal_common_ucx.output, \
|
MCA_COMMON_UCX_VERBOSE(0, " Error: " __VA_ARGS__)
|
||||||
__FILE__ ":" MCA_COMMON_UCX_QUOTE(__LINE__) \
|
|
||||||
" Error: " __VA_ARGS__)
|
|
||||||
|
|
||||||
#define MCA_COMMON_UCX_WARN(...) \
|
#define MCA_COMMON_UCX_WARN(...) \
|
||||||
opal_output_verbose(0, opal_common_ucx.output, \
|
MCA_COMMON_UCX_VERBOSE(0, " Warning: " __VA_ARGS__)
|
||||||
__FILE__ ":" MCA_COMMON_UCX_QUOTE(__LINE__) \
|
|
||||||
" Warning: " __VA_ARGS__)
|
|
||||||
|
|
||||||
#define MCA_COMMON_UCX_VERBOSE(_level, ... ) \
|
#define MCA_COMMON_UCX_VERBOSE(_level, ... ) \
|
||||||
if (((_level) <= MCA_COMMON_UCX_MAX_VERBOSE) && \
|
if (((_level) <= MCA_COMMON_UCX_MAX_VERBOSE) && \
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user