Download, install, and configure intel ifort, icc compiler, and MKL in linux

Source: Internet
Author: User
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.

1) download:

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.

2) installation:

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

#./Install. sh

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.

3) Configuration:

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/cce/10.1.015/bin/iccvars. sh

Source/opt/intel/fce/10.0.008/bin/ifortvars. sh, save and exit. source/etc/profile, so far, the intel compiler has been installed.

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.