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:

    • linked with the Intel implementation of OpenMP. See User and Reference Guide for the Intel® C++ Compiler for details.

    • dynamically linked with Intel® MPI Library.

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

Note

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.

See Also

Tracing Conventional MPI Applications

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)