Centos6.7下安装Intel的iccifort编译器(非商业版)

Centos6.7下安装Intel的iccifort编译器(⾮商业版)
金币辉煌
⼀、查看系统环境
[root@MPI_EXERCISE bigdft-1.8.1]# cat /etc/redhat-release
CentOS release 6.7 (Final)
[root@MPI_EXERCISE bigdft-1.8.1]# uname -a
Linux MPI_EXERCISE 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@MPI_EXERCISE bigdft-1.8.1]# uname -r
2.6.32-57
3.el6.x86_64
[root@MPI_EXERCISE bigdft-1.8.1]# uname -m
x86_64
⼆、安装inter编译器需要的软件包libstdc++5
[root@MPI_EXERCISE bigdft-1.8.1]# yum install libstdc++.so.5
三、下载intel编译器安装包
Tools & Downloads;
2、进⼊后,再选择Get Free Tools(⾮商业版);
3、进⼊页⾯后,向下滑动⿏标,然后选择
4、进⼊页⾯后,向下滑动⿏标,然后选择
5、进⼊页⾯后,向下滑动⿏标,然后选择Linux*
6、进⼊页⾯后,在三个⼩⽅框⾥⾯打钩,然后选择Accept;
周宝宽
7、进⼊页⾯后,需要填写邮箱等信息。填写完成后,会提⽰在⼀到两个⼯作⽇内将⽂件发到邮箱;
8、⼤概过了⼀天,会受到⼀封来⾃美国的邮件,打开邮件选择download
9、进⼊页⾯后,下拉页⾯,选择第⼀个下载。
四、安装intel编译器
1、将下载到windows的安装包上传到centos中;
[root@MPI_EXERCISE ~]# cd /home/qiuuuu/tools/
[root@MPI_EXERCISE tools]# rz
2、解压parallel_studio_xe_2017_update4_professional_
习吴会
[root@MPI_EXERCISE tools]# tar zxf parallel_studio_xe_2017_update4_professional_产学研协同创新机制
3、编译、安装
[root@MPI_EXERCISE tools]# cd parallel_studio_xe_2017_update4_professional_edition_online
[root@MPI_EXERCISE parallel_studio_xe_2017_update4_professional_edition_online]# ls
[root@MPI_EXERCISE parallel_studio_xe_2017_update4_professional_edition_online]# ./install.sh
小青龙汤证
在安装过程中⼀路enter下去,有yes or no就输⼊yes,有accept or rejecet就输⼊accept。如果出现如下所⽰,表⽰要输⼊注册码,注册码在邮件中
五、配置inter编译器
1、查ifort是否已经存在,结果显⽰不存在;
[root@MPI_EXERCISE compilers_and_libraries]# which ifort
/usr/bin/which: no ifort in (/application/mysql/bin:/application/mpich/bin:/usr/lib64/qt-
鸟中诸葛3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin)
2、⼿动配置环境变量;
[root@MPI_EXERCISE bin]# cd /opt/intel/compilers_and_libraries_2017.4.196/linux/bin/
[root@MPI_EXERCISE bin]# ls
[root@MPI_EXERCISE bin]# source ./compilervars.sh intel64
[root@MPI_EXERCISE bin]# which ifort
/opt/intel/compilers_and_libraries_2017.4.196/linux/bin/intel64/ifort
[root@MPI_EXERCISE bin]# which icc
/opt/intel/compilers_and_libraries_2017.4.196/linux/bin/intel64/icc
六、其他inter相关的版本下载信息
另外,如果要删除ifort编译器,不能够直接删除,在/opt/intel/composer_xe_2011_sp1.10.319/composer_xe_2011_sp1.10.319/bin/ 下⾯有⼀个uninstall.sh⽂件,应该执⾏这个⽂件来完成卸载(注意不要在uninstall.sh所在的⽂件夹中执⾏,应该退出此⽬录执⾏)
补充:
ifort ⽀持 openMP,MPICH2 也⽀持 ifort,ifort编译⾼效,因此,使⽤ ifort 也是⼀个不错的选择。
Intel⼀系列的产品均有⾮商业版,例如VTune等,均可免费下载,
建议得到下载链接后,⽤ wget 下载。
Non-Commercial Software  Download
Product Suites    The Intel Software Development Productslisted below are available for free non-commercial download. Click on a productto initiate the download process. Non-commercial licenses are subject to the.
·
Includes Intel C++ Composer XE, Intel FortranComposer XE, Intel VTune Amplifier XE, Intel InspectorXE
·
Includes Intel C++ Composer XE, Intel VTuneAmplifier XE, Intel Inspector XE
Compilers and Libraries
·
Includes Intel Fortran Compiler, Intel MathKernel Library
·
Includes Intel C++ Compiler, Intel IntegratedPerformance Primitives, Intel Math Kernel Library, Intel ParallelBuilding Blocks Performance Libraries
·
·
Performance Profilers
·
Thread and Memory Checkers
·
【参考⽂献】

本文发布于:2024-09-21 17:31:13,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/444539.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:编译器   下载   邮件   信息   安装
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议