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
- Your application should be:
- linked with the Intel implementation of OpenMP. See Developer and Reference Guide for the Intel® C++ Compiler for details.
- dynamically linked with Intel® MPI Library.
- Use the-traceoption ofmpirunto trace the data.
Using the
LD_PRELOAD
environment variable to trace data will not have the desired effect.
Windows* OS
- Your application should be:
- linked with the Intel implementation of OpenMP.
- dynamically linked with theVT.dlllibrary and Intel MPI Library.
The example command line to compile the application may look as follows:> mpiicc -trace -openmp myapp.c - Make sure theINTEL_LIBITTNOTIFY64environment variable contains the full path to theVT.dlllibrary.
- Run your application using thempiexeccommand to trace the data.