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
Цей коміт міститься в:
Jonathan R. Madsen
2023-02-04 10:59:50 -06:00
зафіксовано GitHub
джерело 8feb6bf8b6
коміт e7d3125459
164 змінених файлів з 721 додано та 574 видалено
+2 -1
Переглянути файл
@@ -51,7 +51,7 @@ set(OMNITRACE_EXTENSION_LIBRARIES
target_include_directories(
omnitrace-headers
INTERFACE ${PROJECT_BINARY_DIR}/source/lib ${PROJECT_BINARY_DIR}/source/lib/omnitrace
INTERFACE ${PROJECT_BINARY_DIR}/source/lib ${PROJECT_BINARY_DIR}/source/lib/core
${PROJECT_SOURCE_DIR}/source/lib ${PROJECT_SOURCE_DIR}/source/lib/omnitrace
${PROJECT_SOURCE_DIR}/source/lib/omnitrace-user)
@@ -223,6 +223,7 @@ endif()
# RCCL
#
# ----------------------------------------------------------------------------------------#
if(OMNITRACE_USE_RCCL)
find_package(RCCL-Headers ${omnitrace_FIND_QUIETLY} REQUIRED)
target_link_libraries(omnitrace-rccl INTERFACE roc::rccl-headers)