- View the source.
- View the history.
- IntelFortran and MKL Installation (Open) has been deleted.
- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
[by Eguchi and Nugraha, 2009.4.28]
** Get the installer [#n57b0abf]
-Links to intel website:
--[[Intel Fortran Compiler:https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1174&AccountID=&EmailID=&ProgramID=&RequestDt=&rm=NCOM&lang=]]
--[[Math Kernel Library (MKL):https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1160&AccountID=&EmailID=&ProgramID=&RequestDt=&rm=NCOM&lang=]]
-Fill in your e-mail (twice, one for confirmation) and country (e.g. Japan) then click submit.
-Download the compiler appropriate for your computer (IA32/64/etc).
-License information will be sent to your e-mail. Even though it is provided license for MKL, but we actually only need the compiler license. MKL license will follow.
** Check the files [#z92fbf4e]
-After downloading from the links provided above, we will get two files (latest version as of April 19, 2009):
--l_cprof_p_11.0.083_ia32.tgz (Fortran compiler, for example here is 32-bit version)
--l_mkl_p_10.1.2.024.tar.gz (MKL, architecture independent)
** Installing ifort (using root privelege) [#c9d83f55]
-Let us move the file into /opt
# mv l_cprof_p_11.0.083_ia32.tgz /opt
# cd /opt
# tar -xzvf l_cprof_p_11.0.083_ia32.tgz
# cd l_cprof_p_11.0.083_ia32
-Follow the instructions given after it. Be careful when inserting the license information.
-If there is no error, intel fortran compiler for this version will be available in
** Some problems that possibly appear during installation [#o7748b1d]
***Error message about SElinux [#v284241b]
-Probably you face this error message:
Your system is protected with Security-enhanced Linux (SELinux).
We currently support only "Permissive" mode, which is
not found on the system.
To rectify this issue, you may either disable SELinux by
- setting the line "SELINUX=disabled" in your /etc/sysconfig/selinux
file - adding "selinux=0" kernel argument in lilo.conf or grub.conf files
or make SELinux mode adjustment by
- setting the line "SELINUX=permissive" in your /etc/sysconfig/selinux
file or ask your system administrator to make SELinux mode adjustment.
You may need to reboot your system after changing the system parameters.
More information about SELinux can be found at http://www.nsa.gov/selinux/
Quitting! Press "Enter" to terminate install.
-To solve this, edit /etc/sysconfig/selinux
# emacs /etc/sysconfig/selinux &
-Restart the machine, try again to install.
*** Dependencies for libstdc++.so.5 [#of57fd72]
- In Fedora Linux, if libstdc++.so.5 is needed then we should install it using this command:
# yum -y install compat-libstdc++-33
(How to do is written on [[this page:http://flex.phys.tohoku.ac.jp/japanese/pukiwiki/index.php?PC%20%C1%C8%A4%DF%CE%A9%A4%C6%A1%A1Xenon%204%2B4%A1%A1%28%B8%F8%B3%AB%29#c286c6ee]] in Japanese too)
*** Dependencies for g++ [#b122d343]
- In Fedora Linux, if g++ is needed then we should install it using this command:
# yum install gcc-c++
(not "yum install g++")
** Installing MKL [#t6e5325b]
-Same procedure as installation of ifort.
# mv l_mkl_p_10.1.2.024.tar.gz /opt
# cd /opt
# tar -xzvf l_mkl_p_10.1.2.024.tar.gz
# cd l_mkl_p_10.1.2.024
-After finishing the installation, we will get this:
** PATH variables [#z79b1e67]
-Check the PATH
$ echo $PATH
Probably "ifort" is not included yet.
-There are two choices to include "ifort" (just choose one of them):
--For a particular user, edit "~/.bashrc"
$ emacs ~/.bashrc
--For all users, edit "/etc/profile" as a root:
# emacs /etc/profile
in some linux distribution, we should edit "/etc/bashrc" instead of "/etc/profile".
-Add the following line at reasonable place in the file, for example at the end of file:
source /opt/intel/Compiler/11.0/083/bin/ifortvars.sh xxxx
("ia32" for 32-bit, "ia64" for 64-bit, type without quotes)
-Logout then login again, check the PATH difference with previous time:
$ echo $PATH
Hope now "ifort" is included in PATH.
** Cleaning up [#w6c5d2fd]
-If we feel annoyed with the installers, we can remove them:
# rm -Rf /opt/l_mkl_p_10.1.2.024* /opt/l_cprof_p_11.0.083_ia32*