#! /bin/bash ## this scrip install intel mpi version 4.1.0.024 in /share/apps/intel of a Rocks cluster. It must exceted as su. ## As a prerequsite, a licence for 'IntelĀ® Cluster Studio XE for Linux' must be obtained from intel webpage at http://software.intel.com/en-us/intel-cluster-studio-xe-evaluation-options ## The license file will be sent via email. Download the licence file, e.g., EVAL_L___VJX6-3BRJMPP2.lic. Place the licence file manually into the directory (as su) /share/apps/intel/licenses. If prompted for serial on the screen, XXXX-XXXXXXX, simply cut and paste from the the name of the licence file. e.g., in EVAL_L___VJX6-3BRJMPP2.lic, the serial would be VJX6-3BRJMPP2. cd /share/apps/configrepo wget http://www2.fizik.usm.my/configrepo/howto/intel/l_mpi_p_4.1.0.024.tgz tar -zxvf l_mpi_p_4.1.0.024.tgz cd l_mpi_p_4.1.0.024 ./install.sh ## In Step no: 3 of 6 | Activation, choose " ## 3. I want to activate either remotely, or by using a license file, or by using a license manager ## In Step no: 3 of 6 | Activation > Advanced activation, choose ## 2. Use a license file ## In the prompt "Please type the full path to your license file(s):", type ## /share/apps/intel/licenses ## ## You will then be prompted # 1. Install cluster node software on an automounted shared file system # 2. Install cluster node software on every node of your cluster # Choose 1. # When prompted "Installer is about to install product at the /opt/intel/impi/4.1.0.024 folder. Press Enter if you agree with this or specify another prefix:", enter # "/share/apps/intel/impi/4.1.0.024" ## When prompted 'Please specify the location of the machines.LINUX file or 'x' to exit [machines.LINUX]: ## type 'x' to exit. ## Answer yes to all. sh /share/apps/intel/impi/4.1.0.024/bin64/mpivars.sh intel64 echo '/share/apps/intel/impi/4.1.0.024/lib64' >> /etc/ld.so.conf