#! /bin/bash # This script must be run as SU to install intel mkl and icc (11.0.081). # Advise to run http://www2.fizik.usm.my/configrepo/howto/inst_numeric if not already done. Uncomment the next two line if needed. # wget http://www2.fizik.usm.my/configrepo/howto/inst_numeric # chmod +x inst_numeric # ./inst_numeric # Step -1: It is possible that during the installation process, the intel installation may complain about "Missing critical pre-requisite -- missing system commands". This is because Rocks 5.3 does not come preinstalled with compat-libstdc++-33.i386, compat-libstdc++-33.i686 and also compat-libstdc++-33.x86_64. One needs to install these compatable librarues via yum install first before intel icc or intel ifort can be installed succesfully. # Step 0 # Be sure to set SELINUX to permissive by editing the file /etc/sysconfig/selinux # echo 'SELINUX=permissive' >> /etc/sysconfig/selinux # May have to reboot if selinux is changed. # Step 1 (manual input is required, so stand by) # You must first go to the intel webpage to request for an one-month licence via email (search google for download intel icc linux, and then complete the online form-filling procedure) # The licence file will be sent via email as an attachement with a typical name such as EVAL_L_CMP_CPP_VRN8-VDNWLSKR.lic. The licence key is simply VRN8-VDNWLSKR. The licence key may also be immediately shown one the screen once you finished the online registration process. Suggest to download the licence and manually put it into the folder /opt/intel/licenses. # The license will be expired in 30 days. When that happens, request again the licence file by going through the online registration process. Then paste the licence file *.lic into the folder /opt/intel/licenses. This will allow the intel application be usable for the next 30 days. It is assumed that one can repeat this procedure indefintely. cd /tmp wget http://www2.fizik.usm.my/configrepo/howto/intel/l_cproc_p_11.0.081_intel64.tar tar -xvf l_cproc_p_11.0.081_intel64.tar cd /tmp/l_cproc_p_11.0.081_intel64 ./install.sh # When prompted, just select all default options. # Step 2 source /opt/intel/Compiler/11.0/081/bin/iccvars.sh intel64 chmod +x /opt/intel/Compiler/11.0/081/bin/intel64/iccvars_intel64.sh source /opt/intel/Compiler/11.0/081/bin/intel64/iccvars_intel64.sh intel64 cd /usr/local/bin ln -s /opt/intel/Compiler/11.0/081/bin/intel64/icc /usr/local/bin/. cd /usr/bin ln -s /opt/intel/Compiler/11.0/081/bin/intel64/icc /usr/bin/.