查看文章 |
Install Intel Fortran/C++ Compilers for Fedora (Linux) Jiajun Chong UCB/USTC Jan 15, 2011 1. Dowload non commerical F/C compilers from: http://software.intel.com/en-us/articles/non-commercial-software-development/ An email will be sent to you with the licenses. suppose all *.tgz files are downloaded in a directory named "intel_src"
2.make a directory "intel" in /opt/ as a root user, and copy all licenses to a sub-directory "/opt/intel/licenses": $su ! passwd $mkdir /opt/intel $mkdir /opt/intel/licenses $cp *.lic /opt/intel/licenses
3. unzip all *.tgz files: for i in *.tgz;do tar xvfz $i;done
4. Installation: (install as a root user) (1) Fortran: $cd l_fcompxe_ia32_2011.1.107 $./install.sh "Enter" to accept default choice, and "Skip missing optional pre-requisites", accept license agreement. Use existing license; And "Enter" to start installation now; Wait several minutes and press "Enter" twice to finish installation. (2) C: $ cd ../l_ccompxe_ia32_2011.1.107 $./install.sh accept all default choices, and exit from root.
5. Setting: open ~/.bashrc $vi ~/.bashrc and add following line into it: source /opt/intel/bin/compilervars.sh ia32 #(if u r using 32-bit platform, otherwise replace "ia32" with "intel64" for 64-bit) write and quit. (OR just $echo source /opt/intel/bin/compilervars.sh ia32 >> ~/.bashrc) then run: $source ~/.bashrc OK, congratulations, all installation finished!
Note: (1) make sure what's your platform 32-bit or 64-bit. (2) If forbiddened by selinux when running "install.sh", please set seLinux to "disabled" by $vi /etc/sysconfig/selinux and replace "SELINUX=enforcing" with "SELINUX=disabled" then reboot. (3) MKL is installed at the same time! (4) My systerm is Fedora 14, and compiler is intel-2011 updated 1.
-------------------------------some information when you finished installation------------------------------------------------ To get started using Intel(R) Composer XE 2011 Update 1 located in -----------------------------------------------------------------------------------------------------------
|

