安装 Intel Compiler (ifort & icc & icpc)

https://www.yuque.com/_heqin/scsfag/gha4gn

Step 4
下载网址Free Tools for Students
https://software.intel.com/en-us/qualify-for-free-software/student
安装说明
https://software.intel.com/sites/default/files/managed/12/b4/parallel-studio-xe-install-guide-linux.pdf或者解压后的文件夹中自带

  1. 在下载目录下解压
    heqin@heqin-dell:~/Downloads$ tar zxvf parallel_studio_xe_2017_update7.tgz
  2. 进入解压后的文件夹
    heqin@heqin-dell:~/Downloads$ cd parallel_studio_xe_2017_update7/
  3. 为了记录过程而不用截图,我选择用命令行安装,当然你也可以用install_GUI.sh
    heqin@heqin-dell:~/Downloads/parallel_studio_xe_2017_update7$ ./install.sh

Please make your selection by entering an option.
Root access is recommended for evaluation.

  1. Run as a root for system wide access for all users [default]
  2. Run using sudo privileges and password for system wide access for all users
  3. Run as current user to limit access to user level
    Please make your selection by entering an option.

h. Help
q. Quit

Please type a selection [1]: 1

heqin@heqin-dell:~$ sudo passwd
[sudo] password for heqin:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Step 1 of 7 | Welcome

Welcome to the Intel(R) Parallel Studio XE 2017 Update 7 for Linux* setup progra
m.


You will complete the steps below during setup process:
Step 1 : Welcome
Step 2 : License agreement
Step 3 : License activation
Step 4 : Intel® Software Improvement Program Data Collection
Step 5 : Options
Step 6 : Installation
Step 7 : Complete


Press "Enter" key to continue or "q" to quit:

Step 2 of 7 | License agreement

Type "accept" to continue or "decline" to go back to the previous menu: accept

Step 3 of 7 | License activation

If you have purchased this product and have the serial number and a connection
to the internet you can choose to activate the product at this time.
Alternatively, you can choose to evaluate the product or defer activation by
choosing the evaluate option. Evaluation software will time out in about one
month. You can also use license file or Intel(R) Software License Manager.


  1. I want to activate my product using a serial number [default]
  2. I want to activate by using a license file, or by using Intel(R) Software
    License Manager

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 1
Please type your serial number (the format is XXXX-XXXXXXXX): 2T5V-J5DWVDRH


Checking serial number...

Activation completed successfully.

Press "Enter" key to continue:

Step 4 of 7 | Intel® Software Improvement Program Data Collection

Intel® Software automatically collects technical information about the program
runtime status (such as counters, flags, and timestamps) and development
environment (such as operating system, CPU architecture, and other Intel
products installed) ("Information").
- No personally identifiable information is collected. The Information
collected will be used to better understand how customers use Intel® Software
and how to improve our software in the future.
- If you choose to opt in, the data will be sent to Intel and be retained
indefinitely. If you choose to opt out, the Information will NOT be sent to
Intel and will be automatically deleted.
- You will not receive additional emails from Intel if you choose to opt in
to the program.
- You can stop participating at any time by choosing "Improvement Program
Options" in "Settings" Tab of the Intel® Software Manager and selecting "OPT
OUT" option.

Learn more about the Intel® Software Improvement Program
http://software.intel.com/en-us/articles/software-improvement-program

  1. I would like to OPT IN and participate to improve Intel® Software
  2. I would like to OPT OUT and not participate

b. Back to the previous menu
q. Quit


Please type a selection: 2

Step 5 of 7 | Options > Configure Cluster Installation

This product can be installed on cluster nodes.

  1. Finish configuring installation target [default]

  2. Installation target [ Current system only ]

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 1

Step 5 of 7 | Options > Pre-install Summary

Install location:
/opt/intel

Component(s) selected:
Intel(R) Trace Analyzer and Collector 2017 Update 4 583MB
Intel(R) Trace Analyzer for Intel(R) 64 Architecture
Intel(R) Trace Collector for Intel(R) 64 Architecture
Intel(R) Trace Collector for Intel(R) Many Integrated Core Architecture

Intel(R) Cluster Checker 2017 Update 2                                 179MB
    Cluster Checker common files                                            
    Cluster Checker Analyzer                                                
    Cluster Checker Collector                                               

Intel(R) VTune(TM) Amplifier XE 2017 Update 6                          1.2GB
    Command line interface                                                  
    Sampling Driver kit                                                     
    Graphical user interface                                                

Intel(R) Inspector 2017 Update 4                                       362MB
    Command line interface                                                  
    Graphical user interface                                                

Intel(R) Advisor 2017 Update 5                                         716MB
    Command line interface                                                  
    Graphical user interface                                                

Intel(R) C++ Compiler 17.0 Update 7                                    578MB
    Intel C++ Compiler                                                      

Intel(R) Fortran Compiler 17.0 Update 7                                595MB
    Intel Fortran Compiler                                                  

Intel(R) Math Kernel Library 2017 Update 4 for C/C++                   3.2GB
    Intel MKL core libraries for C/C++                                      
    Intel(R) Xeon Phi(TM) coprocessor support for C/C++                     
    Cluster support for C/C++                                               
    Intel TBB threading support                                             
    GNU* C/C++ compiler support                                             

Intel(R) Math Kernel Library 2017 Update 4 for Fortran                 3.2GB
    Intel MKL core libraries for Fortran                                    
    Intel(R) Xeon Phi(TM) coprocessor support for Fortran                   
    Cluster support for Fortran                                             
    GNU* Fortran compiler support                                           
    Fortran 95 interfaces for BLAS and LAPACK                               

Intel(R) Integrated Performance Primitives 2017 Update 3               2.7GB
    Intel IPP single-threaded libraries: General package                    

Intel(R) Threading Building Blocks 2017 Update 8                       100MB
    Intel TBB                                                               

Intel(R) Data Analytics Acceleration Library 2017 Update 4             3.4GB
    Intel(R) Data Analytics Acceleration Library 2017 Update 4              

Intel(R) MPI Library 2017 Update 4                                     1.0GB
    Intel MPI Benchmarks 2017 Update 3                                      
    Intel MPI Library for applications running on Intel(R) 64 Architecture  
    Intel MPI Library for applications running on Intel(R) Many Integrated  

Core Architecture

Intel(R) Debugger for Heterogeneous Compute 2017                       597MB
    GNU* GDB 7.6 and ELFDWARF library                                       

GNU* GDB 7.10                                                           95MB
    GNU* GDB 7.10 on Intel(R) 64                                            

Intel(R) Debugger for Intel(R) MIC Architecture 2017 Update 7          135MB
    GNU* GDB 7.8                                                            
    GDB Eclipse* Integration                                                

Install space required: 14.4GB

Driver parameters:
Sampling driver install type: Driver will be built
Load drivers: yes
Reload automatically at reboot: yes
Per-user collection mode: no
Drivers will be accessible to everyone on this system. To restrict access,
select Customize Installation > Change advanced options > Drivers are ac
cessible to
and set group access.

Installation target:
Install on the current system only


  1. Start installation Now [default]
  2. Customize installation

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 2

Step 5 of 7 | Options > Architecture selection

Select the architecture(s) where your applications will run. If unsure, accept
the default options below or see
http://software.intel.com/en-us/articles/about-target-architecture-selection-dur
ing-installation for more information.

Target Architecture(s) of your applications:

  1. [x] IA-32

  2. [x] Intel(R) 64

  3. Finish architecture selection [default]

Note: This system is an Intel(R) 64 architecture system.
Your application may be built to run on either IA-32 or Intel(R) 64
architectures.

b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [3]: 1
Step 5 of 7 | Options > Architecture selection


Select the architecture(s) where your applications will run. If unsure, accept
the default options below or see
http://software.intel.com/en-us/articles/about-target-architecture-selection-dur
ing-installation for more information.

Target Architecture(s) of your applications:

  1. [ ] IA-32

  2. [x] Intel(R) 64

  3. Finish architecture selection [default]

Note: This system is an Intel(R) 64 architecture system.
Your application may be built to run on either IA-32 or Intel(R) 64
architectures.

b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [3]: 3

Step 5 of 7 | Options

You are now ready to begin installation. You can use all default installation
settings by simply choosing the "Start installation Now" option or you can
customize these settings by selecting any of the change options given below
first. You can view a summary of the settings by selecting "Show pre-install
summary".


  1. Start installation Now [default]

  2. Change install directory [ /opt/intel ]

  3. Change components to install [ Custom ]

  4. Change advanced options

  5. Show pre-install summary

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 5

Step 5 of 7 | Options > Pre-install Summary

Install location:
/opt/intel

Component(s) selected:
Intel(R) Trace Analyzer and Collector 2017 Update 4 583MB
Intel(R) Trace Analyzer for Intel(R) 64 Architecture
Intel(R) Trace Collector for Intel(R) 64 Architecture
Intel(R) Trace Collector for Intel(R) Many Integrated Core Architecture

Intel(R) Cluster Checker 2017 Update 2                                 179MB
    Cluster Checker common files                                            
    Cluster Checker Analyzer                                                
    Cluster Checker Collector                                               

Intel(R) VTune(TM) Amplifier XE 2017 Update 6                          1.2GB
    Command line interface                                                  
    Sampling Driver kit                                                     
    Graphical user interface                                                

Intel(R) Inspector 2017 Update 4                                       362MB
    Command line interface                                                  
    Graphical user interface                                                

Intel(R) Advisor 2017 Update 5                                         716MB
    Command line interface                                                  
    Graphical user interface                                                

Intel(R) C++ Compiler 17.0 Update 7                                    477MB
    Intel C++ Compiler                                                      

Intel(R) Fortran Compiler 17.0 Update 7                                476MB
    Intel Fortran Compiler                                                  

Intel(R) Math Kernel Library 2017 Update 4 for C/C++                   2.4GB
    Intel MKL core libraries for C/C++                                      
    Intel(R) Xeon Phi(TM) coprocessor support for C/C++                     
    Cluster support for C/C++                                               
    Intel TBB threading support                                             
    GNU* C/C++ compiler support                                             

Intel(R) Math Kernel Library 2017 Update 4 for Fortran                 2.4GB
    Intel MKL core libraries for Fortran                                    
    Intel(R) Xeon Phi(TM) coprocessor support for Fortran                   
    Cluster support for Fortran                                             
    GNU* Fortran compiler support                                           
    Fortran 95 interfaces for BLAS and LAPACK                               

Intel(R) Integrated Performance Primitives 2017 Update 3               1.8GB
    Intel IPP single-threaded libraries: General package                    

Intel(R) Threading Building Blocks 2017 Update 8                       100MB
    Intel TBB                                                               

Intel(R) Data Analytics Acceleration Library 2017 Update 4             2.2GB
    Intel(R) Data Analytics Acceleration Library 2017 Update 4              

Intel(R) MPI Library 2017 Update 4                                     1.0GB
    Intel MPI Benchmarks 2017 Update 3                                      
    Intel MPI Library for applications running on Intel(R) 64 Architecture  
    Intel MPI Library for applications running on Intel(R) Many Integrated  

Core Architecture

Intel(R) Debugger for Heterogeneous Compute 2017                       597MB
    GNU* GDB 7.6 and ELFDWARF library                                       

GNU* GDB 7.10                                                           95MB
    GNU* GDB 7.10 on Intel(R) 64                                            

Intel(R) Debugger for Intel(R) MIC Architecture 2017 Update 7          135MB
    GNU* GDB 7.8                                                            
    GDB Eclipse* Integration                                                

Install space required: 11.5GB

Driver parameters:
Sampling driver install type: Driver will be built
Load drivers: yes
Reload automatically at reboot: yes
Per-user collection mode: no
Drivers will be accessible to everyone on this system. To restrict access,
select Customize Installation > Change advanced options > Drivers are ac
cessible to
and set group access.

Installation target:
Install on the current system only


Press "Enter" key to continue:

Step 5 of 7 | Options

You are now ready to begin installation. You can use all default installation
settings by simply choosing the "Start installation Now" option or you can
customize these settings by selecting any of the change options given below
first. You can view a summary of the settings by selecting "Show pre-install
summary".


  1. Start installation Now [default]

  2. Change install directory [ /opt/intel ]

  3. Change components to install [ Custom ]

  4. Change advanced options

  5. Show pre-install summary

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 1

Step 6 of 7 | Installation

Each component will be installed individually. If you cancel the installation,
some components might remain on your system. This installation may take several
minutes, depending on your system and the options you selected.

Step 7 of 7 | Complete

Thank you for installing Intel(R) Parallel Studio XE 2017 Update 7
Cluster Edition for Linux*.

If you have not done so already, please register your product with Intel
Registration Center to create your support account and take full advantage of
your product purchase.

Your support account gives you access to free product updates and upgrades
as well as Priority Customer support at the Online Service Center
https://supporttickets.intel.com.

Click here https://software.intel.com/en-us/python-distribution
to download Intel(R) Distribution for Python*
This download will initiate separately. You can proceed with the installation
screen instructions.


Press "Enter" key to quit: heqin@heqin-dell:~/Downloads/parallel_studio_xe_2017_update7$

heqin@heqin-dell:~cd /opt/intel/compilers_and_libraries/linux/bin heqin@heqin-dell:/opt/intel/compilers_and_libraries/linux/bin ls
compilervars.csh compilervars.sh ia32 intel64
heqin@heqin-dell:/opt/intel/compilers_and_libraries/linux/binsource ./compilervars.sh intel64 heqin@heqin-dell:/opt/intel/compilers_and_libraries/linux/bin which ifort
/opt/intel/compilers_and_libraries_2017.7.259/linux/bin/intel64/ifort

heqin@heqin-dell:~$ gedit ~/.bashrc

added by HeQin for Intel Compiler

source /opt/intel/compilers_and_libraries_2017/linux/bin/compilervars.sh intel64
heqin@heqin-dell:~$ icc
Centos6.7下安装Intel 的icc / ifort 编译器(非商业版)

http://blog.51cto.com/doublelinux/1956452

https://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
https://blog.teststation.org/ubuntu/2016/05/12/installing-32-bit-software-on-ubuntu-16.04/

Step 5 of 7 | Prerequisites > Missing Optional Prerequisite(s)

There are one or more optional unresolved issues. It is highly recommended to
resolve them all before you continue. You can fix them without exiting the setup
program and re-check. Or you can exit the setup program, fix them and run the
setup program again.


Missing optional prerequisites
-- 32-bit libraries not found


  1. Skip missing optional prerequisites [default]
  2. Show the detailed info about issue(s)
  3. Re-check the prerequisites

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 2

Step 5 of 7 | Prerequisites > Missing Optional Prerequisite

32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel(R) 64 architecture systems. One or more of these libraries
could not be found:
libstdc++ (including libstdc++6)
glibc
libgcc
Without these libraries, the compiler will not function properly. Please refer
to Release Notes for more information.


  1. Finish with prerequisites and continue [default]
  2. Back to Prerequisite summary dialog

h. Help
b. Back to the previous menu
q. Quit


Please type a selection or press "Enter" to accept default choice [1]: 2

1.png
2.png
3.png
4.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 194,319评论 5 459
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 81,801评论 2 371
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 141,567评论 0 319
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 52,156评论 1 263
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 61,019评论 4 355
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 46,090评论 1 272
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 36,500评论 3 381
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 35,192评论 0 253
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 39,474评论 1 290
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 34,566评论 2 309
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 36,338评论 1 326
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 32,212评论 3 312
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 37,572评论 3 298
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 28,890评论 0 17
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,169评论 1 250
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 41,478评论 2 341
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 40,661评论 2 335

推荐阅读更多精彩内容

  • 今天是7月的最后一天,看看抽到什么精油来迎接8月吧,罗勒。哈哈很是喜欢,因为之前老师说过罗勒很适合我们巨蟹座,所以...
    雪人22阅读 159评论 0 1
  • 在金大侠的笔下,爱情自然也是各位豪杰不辞艰辛,努力追求的一件幸福大事。但是,谈个情说个爱就让人遍阅人间冷暖,尝尽人...
    黑色的雪跟你侃阅读 792评论 4 7
  • 于我而言,这是一场思想的革命,是一场观念的冲击,是对我思维的洗礼。 一直以来,“在其位谋其政”、“三思...
    ndyt007阅读 240评论 0 0
  • 营销四大利器:创意营销,跨界营销,借势营销,造势营销 一、创意营销:旧元素的新组合 1、概念: 美国广告大师詹姆斯...
    亲子教育小六阅读 434评论 0 0