#! /bin/bash ## this scrip install intel mpi version 3.2.1.009 in the machine chakra. ## For this instruction, the machines.LINUX file is to be created in /home/common/nfs. touch /home/common/nfs/machines.LINUX echo '10.1.1.1 10.1.255.231 10.1.255.232 10.1.255.233' > /home/common/nfs/machines.LINUX ## Similar machines.LINUX file may have to be created in the home folder for other users. ## As a prerequsite, a licence for 'IntelĀ® Cluster Studio XE for Linux' must be obtained from intel webpage at ## https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1781&AccountID=&EmailID=&ProgramID=&RequestDt=&rm=EVAL&lang= ## 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) /opt/intel/licenses. cd /tmp wget http://www2.fizik.usm.my/configrepo/howto/intel/l_mpi_p_3.2.1.009.tar tar -xvf l_mpi_p_3.2.1.009.tar cd l_mpi_p_3.2.1.009 ./install.sh ## If prompted for licence's location, type '/opt/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 'Please specify the location of the machines.LINUX file or 'x' to exit [machines.LINUX]: ## type '/home/common/nfs' ## Answer yes to all. echo '/home/common/nfs/intel/impi/3.2.1.009/lib64' >> /etc/ld.so.conf