Intel® VTune™ Amplifier 2017

Create Project and Configure Target

To start performance analysis for an application on the Intel® Xeon Phi™ coprocessor, do the following:

  1. Create a VTune Amplifier project.

  2. Specify an analysis target.

  3. Configure search directories for symbol resolution.

Create a VTune Amplifier Project

  1. Type amplxe-gui to launch the VTune Amplifier GUI.

  2. Create a new project via New > Project... menu.

    The Create a Project dialog box opens.

  3. Specify the project name matrix that will be used as the project directory name and click the Create Project button.

    By default, the VTune Amplifier creates a project directory under the $HOME/intel/amplxe/projects (for VTune Amplifier XE) or $HOME/intel/amplsys/projects (for VTune Amplifier for Systems) directory and opens the Choose Target and Analysis Type window with the Analysis Target tab active.

Specify an Analysis Target

Note

This tutorial focuses on analyzing a native Intel Xeon Phi coprocessor application that is copied and run on the card. To configure an analysis for an offload application target, make sure to select the Intel Xeon Phi coprocessor (host launch) type of the target system and specify the application name with the full path on the host in the Application field in the Analysis Target tab. See VTune Amplifier Help for more details.

  1. In the Analysis Target tab, select the Intel Xeon Phi coprocessor (native) type from the left pane.

    The configuration pane on the right is updated with the options applicable to the selected target system type.

  2. Make sure the Launch Application target type is selected in the drop-down menu on the right.

  3. Specify the Intel Xeon Phi coprocessor card where your application is located. By default, 0(mic0) card is pre-selected.

  4. In the Application field, specify a full path to the matrix application on the card: /tmp/matrix.mic as an application to launch.

Configure Search Directories

VTune Amplifier resolves symbols for Intel Xeon Phi coprocessor-based modules on the host during collection post-processing. For proper symbol resolution, you need to specify host search paths for the application and for Intel Xeon Phi coprocessor modules before the collection:

  1. In the Choose Target and Analysis Type window, click the Binary/Symbol Search button on the right.

    The Binary/Symbol Search dialog box opens.

  2. In the Search Directories field, click the Browse button to add the application directory on the host and OpenMP* directory.

  3. Click OK to save your changes.

Key Terms

Next Step

Run Hotspots Analysis