Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 3/31/2023
Document Table of Contents

Recording OpenMP* Regions Information

Intel® Trace Collector can record information about OpenMP* regions in your application into trace file.

To collect this information, make sure to do the following:

Linux* OS

  1. Your application should be:

  2. Use the -trace option of mpirun to trace the data.

Using the LD_PRELOAD environment variable to trace data will not have the desired effect.

Windows* OS

  1. Your application should be:

    • linked with the Intel implementation of OpenMP.

    • dynamically linked with the VT.dll library and Intel MPI Library.

    The example command line to compile the application may look as follows:

    > mpiicc -trace -openmp myapp.c
  2. Make sure the INTEL_LIBITTNOTIFY64 environment variable contains the full path to the VT.dll library.

  3. Run your application using the mpiexec command to trace the data.