0% found this document useful (0 votes)
39 views

How To Install Intel MKL, Fortran, C and C++ Compilers

installhowto

Uploaded by

janu s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

How To Install Intel MKL, Fortran, C and C++ Compilers

installhowto

Uploaded by

janu s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

yum install yumex (a window will appear in which one can

select what he wants to install, e.g., the NVIDIA driver)

How to install Intel MKL, Fortran, C and


C++ compilers
A) Get them form http://software.intel.com/en-us/articles/non-
commercial-software-development/
B) Get the following files:
1) l_mkl_10.3.7.256_intel64.tgz [Intel® Math Kernel Library (Intel® MKL) for
Linux]
2) l_fcompxe_2011.8.273.tgz [Intel® Fortran Composer XE 2011 for Linux
Includes Intel® Fortran Compiler, Intel® Math Kernel Library ]
3) l_ccompxe_2011.8.273.tgz [ Intel® C++ Composer XE 2011 for Linux
Includes Intel® C++ Compiler, Intel® Integrated Performance Primitives, Intel® Math Kernel
Library, Intel® Parallel Building Blocks ]

From email get their licence keys


NCOM_L_MKL__NFJ6-5DW7WRT5.lic
for product (1) above
NCOM_L_CMP_FOR_NR2M-ZKCWZM88.lic
for product (2) above
NCOM_L_CMP_CPP_N5D5-WZB6V8TR.lic
for product (3) above

C) Untar the tgz files. Start their installation by ./install.sh. Then follow the on screen installation
guide. During installation choose remote activation using a licence file and direct to the path of the
licence file when prompted.

D) To get started using Intel(R) Composer XE 2011 Update 8 located in

/opt/intel/composer_xe_2011_sp1.8.273:

- Set the environment variables for a terminal window using one of the following

(replace "intel64" with "ia32" if you are using a 32-bit platform).

For csh/tcsh:

$ source install-dir/bin/compilervars.csh intel64

For bash:

source /opt/intel/composer_xe_2011_sp1.8.273/bin/compilervars.sh intel64


To invoke the installed compilers:

For C++: icpc

For C: icc

For Fortran: ifort

To get help, append the -help option or precede with the man command.

Also install intel parallel studio (like intel MKL, fortran and C)

THIS ENDS THE STEPS for INTEL MKL and Compilers installations.

#intel mkl library


source /opt/intel/mkl/10.2.6.038/tools/environment/mklvars32.sh
ulimit -s unlimited
source /opt/intel/mkl/10.2.6.038/tools/environment/mklvars64.sh
ulimit -s unlimited
source /opt/intel/mkl/10.2.6.038/tools/environment/mklvarsem64t.sh
ulimit -s unlimited

#intel MPI library

source /opt/intel/impi/4.0.0.028/bin/mpivars.sh
These colored lines were required in old quadcore/i7 systems when the above three intel products
were older than 2011 edition.

INSTALL Open MPI: Version 1.4.5


**************
Also install intel parallel studio (like intel MKL, fortran and C)
download openmpi 1.4.5
install Intel openmpi by
./configure --prefix=/usr/local/ CC=icc CXX=icpc F77=ifort FC=ifort
make all install

Change the .bashrc


#open mpi -Intel

export PATH=/usr/local/bin:${PATH}

export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}

Below is a simple example to run a 2 process MPI application:

You might also like