diff --git a/src/apex/apex_ompt.cpp b/src/apex/apex_ompt.cpp index 9e89f622..b2f6c844 100644 --- a/src/apex/apex_ompt.cpp +++ b/src/apex/apex_ompt.cpp @@ -1827,6 +1827,7 @@ int ompt_initialize(ompt_function_lookup_t lookup, int initial_device_num, APEX_UNUSED(initial_device_num); APEX_UNUSED(tool_data); if (!apex::apex_options::use_ompt()) { return 0; } + if (enabled) { printf("Re-initializing OMPT!\n"); return 1; } { std::unique_lock l(apex_apex_threadid_mutex); apex_threadid = apex_numthreads++;