Download, install, and configure intel ifort, icc compiler, and MKL in linux
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Download, install, and configure intel ifort, icc compiler, and MKL in linux-Linux general technology-Linux programming and kernel information. Ifort and icc are a very good compiler. intel has a non-commercial version and can be downloaded for free. Although it does not provide technical support, it is enough for most common users. next, I will introduce how to download, install, and configure the ifort and icc compiler. In addition, I will introduce the installation of the Math Kernel Library.
Our operating system is the Red Hat Enterprise Linux5-AS-X86-64.
Go to http://www.intel.com/cd/software/products/as?na/eng/279831.htmto download ifort, icc, and MKL of free Non-Commercial cial (Non-Commercial version. Simply put, you only need to provide the mailbox, and then follow the steps Step by step. intel will send the serial number and a licence file to your mailbox. Here, we use 64bit l_l_fc_p_10.1.015_intel64.tar.gz, l_cc_p_10.1.015_intel64, And the Math Library Rochelle mkl_p_1.0... 1.014.tgz as an example.
A) log on to linux as root, tar-zxvf l_fc_p_10.1.015.tar.gz, and decompress.
B) # cd l_fc_p_10.1.015
C) select 1, enter the installation, and then enter the serial number. If you enter the serial number directly, select 1 (recommended), and enter the serial number. If you cannot access the Internet, or network authentication is too slow. If you can provide the licence file path, select 2 and enter all the paths and file names of the licence file as prompted (. end of lic ).
D) Select Typical install for Typical installation (recommended). for advanced users, select advanced.
E) read the protocol, press enter all the way, and enter accept as prompted.
F) then all are installed by default, and the installation is completed by pressing enter.
The installation steps of Rochelle cc_p_10.1.015_intel64 and math l_mkl_p_1.0... 1.014.tgz are the same as above.
Enter the/bin directory. The default path is/opt/intel/fce/10.0.008/bin and/opt/intel/cce/10.0.015/bin.
Source ifortvars. sh (. csh)
Source iccvars. sh
The installation and configuration are complete. Enter which ifort and which icc respectively. If you can see/opt/intel/fce/10.0.008/bin/ifort,/opt/intel/cce/10.0.015/bin/icc, then the setup is successfully installed. Use a fortran program to test it.
In addition, there is also a way to define the environment variables, switch to the root user, vi/etc/profile/, the definition of the environment variables in this file is as follows:
# Intel compiler
Source/opt/intel/fce/10.0.008/bin/ifortvars. sh, save and exit. source/etc/profile, so far, the intel compiler has been installed.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.