zoukankan      html  css  js  c++  java
  • intel vtune 介绍、安装和使用

    intel vtune 介绍

    https://software.intel.com/en-us/vtune

    intel vtune 安装包下载地址

    https://software.intel.com/en-us/vtune/choose-download

    intel® VTune™ Amplifier 2019 安装手册 - Linux* OS:

    https://software.intel.com/sites/default/files/VTune Amplifier 2019.5 Install Guide for Linux.pdf

    intel® VTune™ Amplifier 用户使用手册

    https://software.intel.com/en-us/vtune-amplifier-help-introduction

    安装步骤:

    Intel VTune Amplifier在Linux环境下的安装:
    $tar zxvf vtune_amplifie_2018_update3.tar.gz 
    $cd vtune_amplifie_2018_update3
    $install.sh

    接下来就是傻瓜式操作了,如果是在线安装,需要Serial Number,如果是离线安装,则需要一份.lic文件。对于试用版,Serial Number和.lic文件是比较容易获取的。
    在后续的安装过程中遇到一个问题,即

    Missing critical prerequisite
    -- Xorg X11 server is not found. 'Graphical user interface' component(s) cannot 
    be installed.

    这个应该是图形用户界面所需要的,所以我们可以暂停安装VTune,先安装Xorg X11 server

    VNC Server在Linux环境下的安装在下一节中说明。

    说明:安装需要root身份。

    VNC Server常用的三个命令是:

    $ps -ef | grep -i xvnc

    $vncserver -kill :1

    $vncserver :1

    接下来,就可以使用安装在Windows上的VNC客户端连接VNC Server了,然后打开VTune应用

    可执行文件为/opt/intel/vtune_amplifier/bin64/amplxe-gui

    调分辨率:xrandr -s 1920x1200

    注意这个命令并非是在SecureCRT上的终端上执行的,而是在VNC Viewer上的终端上执行的。

    在Linux下安装vnc-server

    用处:远程可以通过客户端的方式访问linux服务器

    1.检查是否安装了VNC server

    rpm -qa | grep vnc

    2.没有安装那么通过yum安装【Redhat不能使用Yum已经解决】

    yum install tigervnc tigervnc-server

    3.安装完毕,第一次启动需要输入两次密码

    vncserver

    4.我们可以选择关闭防火墙或者将VNC添加进去防火墙信任列表

    关闭防火墙:service iptables stop

    Tip:打开防火墙service iptables start

    查看状态:service iptables status

    重新打开防火墙:service iptables restart

    添加到信任用表:修改iptables

    /etc/sysconfig/iptables

    在-A INPUT -j REJECT --reject-with icmp-host-prohibited之前添加

    -A INPUT -m state --state NEW -m tcp -p tcp --dport 5900:5903 -j ACCEPT
     
    5.设置开启启动

    安装成功

    修改密码:

    vncpasswd

    停止服务

    vncserver -kill :1

    使用 vtune

    To get started using Intel VTune Amplifier 2019 Update 5:

    • To set your environment variables:
      • csh/tcsh users: source
        /opt/intel/vtune_amplifier_2019.5.0.601413/amplxe-vars.csh
      • bash users: source
        /opt/intel/vtune_amplifier_2019.5.0.601413/amplxe-vars.sh
    • To start the graphical user interface: amplxe-gui
    • To use the command-line interface: amplxe-cl
    • For additional product configuration instructions, see the
      post-installation steps in the Intel VTune Amplifier
      Installation Guide:
      /opt/intel/vtune_amplifier_2019.5.0.601413/documentation/en/
    • For more getting started resources:
      /opt/intel/vtune_amplifier_2019.5.0.601413/documentation/en/welcomepage/get_star
      ted.htm

    To view movies and additional training, visit
    http://www.intel.com/software/products

    https://blog.csdn.net/WY_stutdy/article/details/79106501

    ref:
    https://blog.csdn.net/xin917480852/article/details/78143210
    https://blog.csdn.net/Pearson9/article/details/81506444
    https://blog.csdn.net/WY_stutdy/article/details/79106501

  • 相关阅读:
    【leetcode】1230.Toss Strange Coins
    2018.12.25 SOW
    L203 词汇题
    L202
    L201
    L200
    2018
    2018.12.21 Cmos- RF
    L198
    L196 Hospital educations
  • 原文地址:https://www.cnblogs.com/qccz123456/p/11338474.html
Copyright © 2011-2022 走看看