The installation process for the VTune (intel® vtune™ Performance Analyzer)

Source: Internet
Author: User
Tags documentation vars
the installation process for the VTune (intel® vtune™ Performance Analyzer)

VTune makes it easy to optimize application performance through a graphical user interface without recompiling. --[Baidu Encyclopedia]

Because of the need to use vtune analysis in a development project, the project that was developed is run in a Linux environment, so you want to install the VTune on a Linux server, but there are fewer tutorials on the web and are basically not specific, I spent some time to install it, here to write down the specific process, hoping to help the small partners in need. download installation packages and license files

You can go to the Intel website download, the official version of the price needs 900 knives, or very expensive, you can choose to download the trial version-download link

Choose Linux System here, click Download free version, need to register account before downloading, get 31 days of free trial. After the registration will send an email to your email, which has a link to download.

Click on the link to select the Linux system download installation package, I downloaded is--vtune_amplifier_xe_2017_update1.tar.gz of course there is an important step here is to download the license file, which is required during the installation process, Without this file installation will not be successful, at first I looked for a long time also do not know where to download this file, and finally found in the download sent to you there is a registration link to the Intel official online registration will see this license file, click to download.

Now everything is ready, then you can install AH ~the installation of VTuneWe can install the installation package download and license file to the Linux server. Unzip the installation package tar ZXVF vtune_amplifier_xe_2017_update1.tar.gz into the unpacked installation package, execute the Install script command sh Install.sh Next is to choose what user to install VTune, if you have root permissions can also be installed in root because the server a lot of people use, I do not have root permissions, so I installed in my own directory, and then will let you see license Agreement (like Windows, ask if you agree with that statement, basically everyone will not look, the direct point of space to the last input accept can). Type ' accept ' to continue or ' decline ' to ' go ' back to the previous menu:AcceptBecause we are just beta, so next choose: I want to evaluate this product or activate later next we will choose to use license file to try VTune Install evaluation SOFTW are using a license file to enter the absolute path of licence files, followed by the default Ann path (default is installed in the home directory under the Intel folder), of course, you can also choose to customize the installation (to remember your installation path OH), the last click on the installation can be. After the final installation, there will be a text you should pay attention to: Thank for installing and for using the Intel (R) VTune (TM) amplifier XE 2017
Update 1
To get started using Intel (R) VTune (TM) amplifier XE 2017 Update 1:
-To set your environment variables:
-Csh/tcsh Users:source
/home/huangjw/intel/vtune_amplifier_xe_2017.1.0.486011/amplxe-vars.csh
-Bash Users:source
/home/huangjw/intel/vtune_amplifier_xe_2017.1.0.486011/amplxe-vars.sh
-To start the graphical user Interface:amplxe-gui
-To use the command-line interface:amplxe-cl
-For additional product configuration instructions, the
Post-Installation steps in the Intel VTune amplifier XE
Installation Guide:
/home/huangjw/intel/vtune_amplifier_xe_2017.1.0.486011/documentation/en/
-For further getting started resources:
/home/huangjw/intel/vtune_amplifier_xe_2017.1.0.486011/documentation/en/welcomep
Age/get_started.htm
To view movies and additional training, visit
Http://www.intel.com/software/products Executive source/home/.../intel/vtune_amplifier_xe_2017.1.0.486011/ The VTune command can be used directly after amplxe-vars.sh (this is the file that was obtained after the VTune's installation was successful).remote use of the VTune graphical user interface

After the installation is complete, you can use the Amplxe-gui command to open the graphical user interface, or you can amplxe-cl command to use the command line interface, the specific use will be introduced later, this article is mainly about installation.
But I reported the following error when I opened the graphical user interface using the Amplxe-gui command:

Error:unable to initialize GTK, is DISPLAY set properly?

The reason for the error here is that the environment variable is not set up and the following command is executed to open the environment variables:

Vim. BASHRC

Configure the following two environment variables:

Export Path= Path:path:netcdf/bin:/home/.../intel/vtune_amplifier_xe_2017.1.0.486011/bin64 (this is the executable file for the graphical user interface command in the directory)
Export display=10.11.1.195:36 (because I am not at the server terminal, I need to use VNC remote control server, to achieve the effect of local graphics users, so to configure VNC DISPLAY environment variables)

Finally, if you execute the Amplxe-gui command to open the graphical user interface as shown in the following illustration, the installation is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.