Intel® Advisor Help

Limiting the Number of Threads Used by Parallel Frameworks

Intel Advisor tools are designed to collect data and analyze serial programs. Before you use the Intel Advisor Suitability and Dependencies tools to examine a partially parallel program, modify your program so it runs as a serial program with a single thread within each parallel site.

Run Your Program as a Serial Program

To run the current version of your program as a serial program, you need to limit the number of threads to 1. To run your program with a single thread:

For more information, see your compiler documentation.

If you cannot remove the parallelism, you should add annotations to mark the parallel code regions and learn how parallel code will impact Intel Advisor tool reports, as described in Using Partially Parallel Programs with Intel Advisor Tools.

See Also