PEAT

Changes

Notable changes to PEAT, newest first. Routine fixes are left out. Last updated 2026-11-27.

2026

Nov 27

mat: matching only by default PEAT*

mat now only matches by default: it writes the .bind files and the .trace.info file next to the trace, without reading the timestamps, which is all pet and qTV need (both read the trace itself with these files). The former default is the new switch -f (--full): it also rewrites the .mpi files into ./out, corrects negative times and calculates the imbalance statistics. -m is still accepted. The OpenMP records of the rewritten trace and of pet's output now keep their fields (kind, endpoint, task, parallel region, code address).

Nov 27

OpenMP: join and fork barriers, tasks PEAT*

tractor records the parallel section of every thread (implicit task begin and end), plain barriers and the join barrier (one record each, from begin to end, with the barrier kind), and tasks (creation with flags, dependences, and every task switch with the status of the task left); the fork barrier of a worker is the time between the end of its implicit task and the next one. The nested sync_region_wait records are gone. pet places tasks and other OpenMP records that run inside a barrier or a taskwait of their thread inside it, and on runtimes that report the end of a worker's join barrier only at the next fork (Intel libiomp5, stock LLVM libomp) it ends that barrier at the join, so the idle time is not counted as barrier time. omp.tool reports the join and fork barriers the same way and no longer hangs at start-up with LLVM libomp; OSL_MAX_THREADS sets the number of threads it tracks.

Nov 26

AMD compiler; traces of processes without MPI PEAT*

tractor builds with AMD's LLVM compiler (ROCm amdclang) as the toolchain amd (COMPILER=amd, -DTRACTOR_COMPILER=amd, BuildAll.sh amd), installed to lib/amd; env.sh takes compiler=amd[:<ROCm root>]. A process without MPI that only has OpenMP, OpenACC, OpenCL or Level Zero records writes its trace again. The engineering libfabric and MPI builds are recognised with versioned fi_close symbols.

Nov 24

tractor: one build script for every library PEAT*

BuildAll.sh <gnu|intel|nvidia|clang> builds, for the plain and the diagnostic (_dbg) variant, the core, the transport shims and the MPI layer of every MPI, plus one set of event-class shims (it fits the core of either variant), and reports the builds that failed. Build.sh takes only the MPI, the target and the diagnostic switch; the variants with MPI buffers, physical pages, memory profiling and hardware counters are not in the default list. The PARSE_GPU switch (CMake -DGPU) is gone: the GPU, CUDA and llama.cpp shims are built whenever their headers are found. In the scripts OpenMP is always the shim, not built into the core. The NVHPC toolchain is now called nvidia (COMPILER=nvidia, -DTRACTOR_COMPILER=nvidia, lib/nvidia) in both build systems. Each transport layer now includes only the headers of its own API, so the MVAPICH2 MPI layer builds without the UCX headers.

Nov 23

tractor: the MPI layer is separate from the core PEAT*

The core library no longer contains the MPI wrappers. tractor is now libtractor.core.so (records, nesting, counters and the trace writer, with no MPI in it, the same for every MPI) plus a small MPI layer per MPI, libtractor.<mpi>[.eng].so. Preload the layer: it loads the core that sits next to it, and a diagnostic, memory-profiling or hardware-counter core preloaded before it takes the core’s place. A program without MPI preloads the core alone. Library names use a dot between the parts, the only underscore is _dbg (libtractor.mpich5.eng.so, libtractor_dbg.core.so). Memory profiling and hardware counters are switches of the core, buffer recording (.mbs) and physical pages (.v2p) of the MPI layer; the .v2p layer now really records the pagemap entry of every buffer (the page number and flags need a privileged user). Memory profiling with allocation hooks, which hung on current glibc, works again. Tested with MPICH, MVAPICH, Open MPI and Intel MPI; the trace format does not change.

Nov 23

tractor: core library and event-class shims PEAT*

tractor is split into a core library and stand-alone shims, one per event class: libtractor.ompt.so, .acc.so, .opencl.so, .levelzero.so, .cuda.so and .llama.so, preloaded next to the core like the transport shims. The shims reach the core only through one small shared structure, so a shim works with every variant of the core (diagnostic, hardware counters, memory profiling) and even with a core of another compiler: an OpenACC shim built with GCC works next to an Intel core. The core no longer needs the OpenMP, OpenCL, Level Zero or CUPTI runtimes, so it loads on machines without them, and there are no .gpu libraries any more. Shims can be loaded together; when a class is present twice (built into a core and preloaded as a shim) only one copy records. The build systems have a new class_layers target, CMake builds use the nanosecond timer by default like the Makefile, and the trace format does not change.

Nov 23

qTV: configurable timelines PEAT*

The number of timelines per rank (1 to 16) and the timeline of every event class (MPI, OpenMP, OpenACC, CUDA, OpenCL, Level Zero, llama.cpp, ggml CPU, transport) can be set in the drawing options; by default MPI, OpenMP, the GPU classes with llama.cpp, and transport are on four timelines. When classes share a timeline, the tooltip and the event details show every event under the cursor, including long ones that started much earlier, and the details table names the class of each event. Short events on all ranks but the first are drawn again: they were left out because of a background-colour test.

Nov 21

Trace files without .hwc PEAT*

A trace no longer has a .hwc file per rank: the hardware-counter values are part of the records of the .mpi file. tractor, ctt, mat, pet, urpu and qTV were changed together, and the trace format description is updated.

Nov 21

Transport shims with a stock core; ROMIO internal calls PEAT*

The transport shims no longer write into the core with a layout of their own: next to a stock core they corrupted its address map and a stock MPICH 5.0.2 run could crash at exit. The members the shims use now come first in the core's structure, and the shim checks the layout of the core once at load and passes the calls through, with a warning, when it does not fit. Communicators of ROMIO's internal calls (the large-count MPI_Isend_c/MPI_Irecv_c on its own duplicated communicator) are resolved, where they used to give “Can't find communicator” on MPICH 4.3.2 and MVAPICH 4.1. The hook patches of MPICH 3.4.3 and 4.3.2 and MVAPICH2 2.3.5, 2.3.7-1 and MVAPICH 4.1 now have all the ROMIO PMPI_ renames (MPICH 5 had them).

Nov 20

tractor: llama.cpp, ggml and CUDA tracing; non-MPI traces PEAT*

tractor can trace llama.cpp inference (model load, tokenization, processing, sampling and the ggml scheduler calls), the ggml CPU backend kernels, and CUDA activity through CUPTI: kernels, copies, memsets and synchronizations on a lane per CUDA context and stream, plus host CUDA runtime and cuBLAS calls. Processes without MPI are now traced as a one-rank world, so applications that do not use MPI can be analysed. mat, ctt, pet and qTV read the new CUDA and non-MPI traces.

Nov 15

qTV: new interface, statistics and built-in help PEAT*

qTV got a substantial interface rework: a time ruler with an overview of the whole trace, view history (back/forward) and bookmarks, and a Statistics window with per-function, per-rank and point-to-point tables that can be exported. Events can be located by index or function name, and a Highlight dialog dims everything except chosen functions, communicators or large messages. The filter dialog can now also hide individual ranks. A built-in help viewer documents all of it.

Nov 7

CI, engineering MPI patches rework and parallel mat PEAT*PEAT

GitHub Actions CI added (CMake builds of the tools, tractor with MPI builds and a smoke test, qTV), with tests of each engineering MPI and of the parallel mat. The patches that let tractor hook into MPICH, MVAPICH and Open MPI internals were slimmed down substantially (thousands of lines removed) and MVAPICH2/4.1 patches regrouped and fixed; dummy-request detection moved from mat into tractor. mat gained experimental OpenMP-parallel matching and a separate collective-matching module; wildcard-receive processing was restored and tractor bugs in non-blocking communicator creation and MPI_Wait/MPI_Testsome were fixed. Most of this was adopted into main.

Nov 2

clang and nvc toolchains; CMake reworked PEAT*

tractor builds with clang and NVIDIA nvc in addition to GNU and Intel (new BuildAllc/BuildAlln scripts, an nvc OpenACC test and environment setup). The CMake and Makefile builds were reworked accordingly.

Oct 31

OpenACC tracing; OpenCL / Level Zero rework PEAT*

tractor can trace OpenACC regions (through the OpenACC profiling interface) alongside MPI, recorded as GPU-class events that mat and qTV understand. OpenCL and Level Zero tracing were completed, with simulated-device tests.

Oct 23

Public release PEAT*PEAT

Both branches published on GitHub.

Oct 22

parent_comm tracing removed PEAT*PEAT

The patched MPIs no longer back-trace parent communicators. Library-internal communicators are reported to the tool through create/free hooks, and engineering builds are detected by the exported hook.

Oct 21

qTV: filtering and drawing options PEAT*PEAT

New filter dialog (functions, message kinds, communicators) and a drawing-options dialog (minimal drawn width of a function, always drawing messages). Communicator information is written to the trace in a revised format.

Oct 21

Open MPI support extended PEAT*

Open MPI 5.0.10 patch and tractor handling extended; imbalance and compression examples moved into the tractor tests.

Oct 13

omp.tool removed from main PEAT

omp.tool is available only in the experimental branch.

Oct 9

mat pipeline rewritten PEAT*

Request handling in mat was rewritten around a common request store and carried out in stages: point-to-point and communicators, collectives, file I/O, and one-sided communication (new osc module). Partitioned communication was added.

Oct 1

MPI 4 / 4.1 / 5 function coverage and per-class tests PEAT*

The MPI function table grew from about 260 to about 670 entries, including large-count (_c) variants, persistent collectives and ABI functions. Per-class tests (point-to-point, collectives, communicators, file I/O, RMA) were added to check them under tractor.

Sep 27

MPI patches reworked; tractor event allocation fix PEAT*PEAT

Patches split into separate hook, Fortran and transport parts (the Fortran wrappers can be redirected so C-level tracing also sees Fortran calls). An event allocation bug in tractor was fixed.

Sep 24

Open MPI patches (experimental) PEAT*

First patches for Open MPI 5.0.10 — hooks, Fortran redirect and a Level Zero fix — letting tractor trace the point-to-point transfers underlying collectives.

Sep 21

mat matching-only mode; fabric events in qTV PEAT*

mat has a --matching-only (-m) switch that writes only the .bind files and skips rewriting the trace and imbalance calculation. qTV shows fabric-layer events separately. Discrepancies between the input trace and mat output were fixed.

Sep 19

Nanosecond timer scheme; CPU frequency detection PEAT*PEAT

New timer scheme in tractor and CPUID-based frequency detection.

Sep 18

CMake build added PEAT*

CMake build files for tractor, mat, ctt, pet and urpu.

Sep 17

Initial commit PEAT*PEAT

Sources, contrib submodules and the libfabric submodule added.