File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,8 @@ void opal_common_ucx_mca_proc_added(void)
136136{
137137#if HAVE_DECL_UCM_TEST_EVENTS
138138 static int warned = 0 ;
139- static char * mem_hooks_suggestion = "Try to add command line agrument "
140- "'--mca opal_common_ucx_opal_mem_hooks 1' to resolve "
141- "this issue." ;
139+ static char * mem_hooks_suggestion = "Pls try adding --mca opal_common_ucx_opal_mem_hooks 1 "
140+ "to mpirun/oshrun command line to resolve this issue." ;
142141 ucs_status_t status ;
143142
144143 if (!warned ) {
Original file line number Diff line number Diff line change @@ -44,15 +44,11 @@ BEGIN_C_DECLS
4444#define MCA_COMMON_UCX_QUOTE (_x ) \
4545 _MCA_COMMON_UCX_QUOTE(_x)
4646
47- #define MCA_COMMON_UCX_ERROR (...) \
48- opal_output_verbose(0, opal_common_ucx.output, \
49- __FILE__ ":" MCA_COMMON_UCX_QUOTE(__LINE__) \
50- " Error: " __VA_ARGS__)
51-
52- #define MCA_COMMON_UCX_WARN (...) \
53- opal_output_verbose(0, opal_common_ucx.output, \
54- __FILE__ ":" MCA_COMMON_UCX_QUOTE(__LINE__) \
55- " Warning: " __VA_ARGS__)
47+ #define MCA_COMMON_UCX_ERROR (...) \
48+ MCA_COMMON_UCX_VERBOSE(0, " Error: " __VA_ARGS__)
49+
50+ #define MCA_COMMON_UCX_WARN (...) \
51+ MCA_COMMON_UCX_VERBOSE(0, " Warning: " __VA_ARGS__)
5652
5753#define MCA_COMMON_UCX_VERBOSE (_level , ... ) \
5854 if (((_level) <= MCA_COMMON_UCX_MAX_VERBOSE) && \
You can’t perform that action at this time.
0 commit comments