Install Intel® VTune™ Profiler on a Windows system, either as a standalone application or as a component in the Intel® oneAPI Base Toolkit.
Check Requirements:
Your host system should use a 64-bit OS.
Ensure that you are using supported versions of Windows and compilers. Check System Requirements.
Get Administrative Privileges
Administrative privileges are necessary for proper installation of the Sampling Drivers that are required for many analysis types in VTune Profiler. Having administrative privileges also makes it easier to install, change, or uninstall VTune Profiler.
Download Intel® VTune™ Profiler for Windows OS as:
On the download page for VTune Profiler,
Select between an Online or an Offline installer. An offline installer is better suited for systems without a stable internet connection.
Once the download completes, run the installer executable with Administrative privileges.
Select your preferred mode for the installation.
In the Recommended Installation mode, VTune Profiler installs in the default directory and integrates into your Microsoft Visual Studio* IDE.
In the Custom Installation mode, you can control these settings:
Follow subsequent steps in the installer to complete the installation.
On the download page for Intel® oneAPI Base Toolkit:
Select between an Online or an Offline installer. An offline installer is better suited for systems without a stable internet connection.
Once the download completes, run the installer executable with Administrative privileges.
Select your preferred mode for the installation.
Choosing the Recommended Installation mode installs all components of the Intel® oneAPI Base Toolkit in the default directory. Appropriate components are then integrated into your Microsoft Visual Studio* IDE.
In the Custom Installation mode, you can control these settings:
Follow subsequent steps in the installer to complete the installation.
To use the command line interface of VTune Profiler, set environment variables first. Run the vars.bat script:
C:\"Program Files (x86)"\Intel\oneAPI\vtune\latest\env\vars.bat
The installation of VTune Profiler on your Windows system should also install the sampling drivers necessary for data collection in most analysis types. However, it is always good practice to verify this:
amplxe-sepreg.exe -c
amplxe-sepreg.exe -s
amplxe-sepreg.exe -i
For more information on installing the sampling drivers on a Windows system, see here.
To verify if you installed VTune Profiler correctly or troubleshoot issues with the installation, use the self-check script (vtune-self-checker.bat) available in the package. This script runs a set of analyses on a sample application, and reports the progress interactively.
Set environment variables.
Open a terminal window.
Go to this location: <Program Files (x86)>\Intel\oneAPI\vtune\latest\bin64
Run the vtune-self-checker.bat script:
vtune-self-checker.bat
The self-check script may take several minutes to run all necessary checks.
Once the script completes all checks, review the summary. Check if any analyses failed, and see the log file for additional information.
When you install VTune Profiler on a Windows platform, you can use it to profile and collect data remotely from non-Windows targets, such as Linux* machines. For more information, see Set Up Analysis Target.