Intel® Fortran Compiler 17.0 Developer Guide and Reference

Using Guided Auto Parallelism in Visual Studio*

The Guided Auto Parallelism (GAP) feature helps you locate portions of your serial code that can be parallelized. When you enable analysis using GAP, the compiler guides you to places in your code where you can increase efficiency through automatic parallelization and vectorization.

Running Analysis on a Project

You can start analysis from the Microsoft Visual Studio* IDE in several ways:

To receive advice for auto parallelization, be sure that certain property page settings are correct. Select Project > Properties > Fortran > Optimization and set Parallelization to Yes to enable auto-parallelization optimization. You may also need to set the Optimization level at option O2 or higher.

GAP Scenarios

To illustrate how the various Guided Auto Parallelism settings work together, consider the following scenarios:

Scenario Result

The GAP analysis setting in the property pages is set to Enabled

Analysis always occurs for the project, whenever a regular project build occurs. Other analysis settings specified in the property pages are used. Analysis setting in Tools > Options are ignored.

The Gap analysis setting in the property pages is set to Disabled, and GAP is run from the Tools menu.

Analysis occurs for this one run. The default values for this analysis are taken from Tools > Options and can be overridden in the dialog box. Options specified in the property pages are also used, but will be overridden by any specified analysis option.

The GAP analysis setting in the property pages is set to Disabled, and GAP options are set in Tools > Options.

No analysis occurs, unless analysis is explicitly run from the Tools menu.

Running Analysis on a File or within a File

Use the right-click Guided Auto Parallelism context menu item to run analysis on the following:

See Also