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