- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
[by Eguchi and Nugraha, 2009.4.19]
** 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
** Error message about SElinux [#d61ddee5]
-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.
** 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
-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*