restructure libomnitrace + tasking and omnitrace-causal updates (#237)
* restructured libomnitrace - this is necessary to incorporate some of the binary analysis capabilities into omnitrace exe - created libomnitrace-core (static) - created libomnitrace-binary (static) - created libomnitrace (static) - omnitrace-avail links to libomnitrace.a - omnitrace-critical-trace links to libomnitrace.a - tweaked the testing - reduced verbosity on some of MPI tests - excluded trace-time-window from tests on Ubuntu 18.04 - reduced causal e2e iterations - minor tweak to tasking - manually create `PTL::UserTaskQueue` instance instead of relying on `PTL::ThreadPool` to create it * Update formatting workflow - source formatting uses ubuntu-22.04 - check-includes doesn't generate false positive for 'include "timemory.hpp"' * omnitrace-causal --generate-configs - fix config generation in omnitrace causal - add test for omnitrace-causal + generating configs * Fix omnitrace-object-library build - accidentally included rocm sources in non-rocm builds * Fix rocm compilation w/o rocprofiler * update timemory submodule with mpi_get warning messages * sampling offload file updates - more verbose messages - disable offload before stopping * testing updates - increase causal e2e iterations to 12 - increase lock_environment verbose to 2 (for sampling offload messages) - fix return for omnitrace_add_validation_test
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
8feb6bf8b6
Commit
e7d3125459
@@ -3,6 +3,20 @@
|
||||
#
|
||||
include_guard(DIRECTORY)
|
||||
|
||||
if(EXISTS /etc/os-release AND NOT IS_DIRECTORY /etc/os-release)
|
||||
file(READ /etc/os-release _OS_RELEASE_RAW)
|
||||
|
||||
if(_OS_RELEASE_RAW)
|
||||
string(REPLACE "\"" "" _OS_RELEASE_RAW "${_OS_RELEASE_RAW}")
|
||||
string(REPLACE "-" " " _OS_RELEASE_RAW "${_OS_RELEASE_RAW}")
|
||||
string(REGEX REPLACE "NAME=.*\nVERSION=([0-9]+)\.([0-9]+).*\nID=([a-z]+).*"
|
||||
"\\3-\\1.\\2" _OS_RELEASE "${_OS_RELEASE_RAW}")
|
||||
endif()
|
||||
unset(_OS_RELEASE_RAW)
|
||||
endif()
|
||||
|
||||
omnitrace_message(STATUS "OS release: ${_OS_RELEASE}")
|
||||
|
||||
if(NOT OMNITRACE_DYNINST_API_RT_DIR AND OMNITRACE_DYNINST_API_RT)
|
||||
get_filename_component(OMNITRACE_DYNINST_API_RT_DIR "${OMNITRACE_DYNINST_API_RT}"
|
||||
DIRECTORY)
|
||||
@@ -74,6 +88,7 @@ set(_lock_environment
|
||||
"OMNITRACE_COUT_OUTPUT=ON"
|
||||
"OMNITRACE_TIME_OUTPUT=OFF"
|
||||
"OMNITRACE_TIMELINE_PROFILE=OFF"
|
||||
"OMNITRACE_VERBOSE=2"
|
||||
"${_test_library_path}")
|
||||
|
||||
set(_critical_trace_environment
|
||||
@@ -827,6 +842,13 @@ function(OMNITRACE_ADD_VALIDATION_TEST)
|
||||
"ENVIRONMENT;LABELS;PROPERTIES;PASS_REGEX;FAIL_REGEX;SKIP_REGEX;DEPENDS;ARGS"
|
||||
${ARGN})
|
||||
|
||||
if(NOT TEST "${TEST_NAME}")
|
||||
omnitrace_message(
|
||||
AUTHOR_WARNING
|
||||
"No validation test(s) for ${TEST_NAME} because test does not exist")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(NOT TEST_TIMEOUT)
|
||||
set(TEST_TIMEOUT 30)
|
||||
endif()
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren