OMPD Commands - OMPD Commands - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English
The following is a list of OMPD commands.
Table 1. OMPD Commands
Command Description
help ompd
Lists the subcommands available for OpenMP specific debugging.
ompd init
  • Run this first to load the libompd.so available in the $LD_LIBRARY_PATH environment variable and to initialize the OMPD library.
  • Starts the program run. The program stops at a temporary breakpoint at the OpenMP internal location ompd_dll_locations_valid().
  • You can continue from the temporary breakpoint for debugging.
  • You can place breakpoints at the OpenMP internal locations ompd_bp_thread_begin and ompd_bp_thread_end to catch the begin and end events.
  • Use ompd_bp_task_begin and ompd_bp_task_end breakpoints to catch the beginning and ending of the events.
  • Use ompd_bp_parallel_begin and ompd_bp_parallel_end to catch the beginning and ending of the parallel events.