Skip to content

fix up use of opal_enable_debug #13139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ompi/mca/vprotocol/example/vprotocol_example_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int mca_vprotocol_example_recv(void *addr,
int ret;
V_OUTPUT_VERBOSE(50, "posted\trecv \tcomm %d\tfrom %d\ttag %d\tsize %ld", comm->c_contextid, src, tag, (long) count);
ret = mca_pml_v.host_pml.pml_recv(addr, count, datatype, src, tag, comm, status);
# ifdef OPAL_ENABLE_DEBUG
# if OPAL_ENABLE_DEBUG
if(status)
V_OUTPUT_VERBOSE(75, "deliver\trecv \tcomm %d\tfrom %d(%d)\ttag %d(%d)\tsize %ld(%ld)\tstatus %d", comm->c_contextid, src, status->MPI_SOURCE, tag, status->MPI_TAG, (long) count, (long) status->_ucount, status->MPI_ERROR);
else
Expand Down
2 changes: 1 addition & 1 deletion oshmem/mca/atomic/base/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ OSHMEM_DECLSPEC extern mca_base_framework_t oshmem_atomic_base_framework;
#define __ATOMIC_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define ATOMIC_VERBOSE(level, ...) \
oshmem_output_verbose(level, oshmem_atomic_base_framework.framework_output, \
"%s:%d - %s()", __ATOMIC_FILE__, __LINE__, __func__, __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion oshmem/mca/memheap/base/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ OSHMEM_DECLSPEC extern mca_base_framework_t oshmem_memheap_base_framework;
#define __SPML_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define MEMHEAP_VERBOSE(level, ...) \
oshmem_output_verbose(level, oshmem_memheap_base_framework.framework_output, \
"%s:%d - %s()", __SPML_FILE__, __LINE__, __func__, __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion oshmem/mca/scoll/base/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ OSHMEM_DECLSPEC extern mca_base_framework_t oshmem_scoll_base_framework;
#define __SCOLL_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define SCOLL_VERBOSE(level, ...) \
oshmem_output_verbose(level, oshmem_scoll_base_framework.framework_output, \
"%s:%d - %s()", __SCOLL_FILE__, __LINE__, __func__, __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion oshmem/mca/scoll/mpi/scoll_mpi_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define __MPI_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define MPI_COLL_VERBOSE(level, ...) \
oshmem_output_verbose(level, mca_scoll_mpi_output, "%s:%d - %s() ", \
__MPI_FILE__, __LINE__, __FUNCTION__, __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion oshmem/mca/scoll/ucc/scoll_ucc_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define __UCC_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define UCC_VERBOSE(level, ...) \
oshmem_output_verbose(level, mca_scoll_ucc_output, "%s:%d - %s() ", \
__UCC_FILE__, __LINE__, __FUNCTION__, __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion oshmem/mca/spml/base/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ OSHMEM_DECLSPEC extern mca_base_framework_t oshmem_spml_base_framework;
#define __SPML_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define SPML_VERBOSE(level, ...) \
oshmem_output_verbose(level, oshmem_spml_base_framework.framework_output, \
"%s:%d - %s()", __SPML_FILE__, __LINE__, __func__, __VA_ARGS__)
Expand Down
2 changes: 1 addition & 1 deletion oshmem/shmem/shmem_api_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ OSHMEM_DECLSPEC extern int shmem_api_logger_output;
#define __SPML_FILE__ __FILE__
#endif

#ifdef OPAL_ENABLE_DEBUG
#if OPAL_ENABLE_DEBUG
#define SHMEM_API_VERBOSE(level, ...) \
oshmem_output_verbose(level, shmem_api_logger_output, \
"%s:%d - %s()", __SPML_FILE__, __LINE__, __func__, __VA_ARGS__)
Expand Down