#! /bin/bash ## This scrip install intel mpi version 4.1.0.024. By default it will be installed in the directory /opt/intel/impi unless you specify the installation directory when you are asked whether to "Specify a custom installation directory" or "Install in the "/opt/intel/Compiler/11.0/081" directory [default]". ## As for this script, the default lacation to intall the intel mpi will be assumed. 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= ## Alternatively click on this link to see it works: https://registrationcenter.intel.com/RegCenter/EvalForm.aspx?productid=1740 ## 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 or a directory where installation could detect, e.g., /home/common/nfs/intel/licenses cd /tmp 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 ## If prompted for licence's location, type '/opt/intel/licenses/' or '/opt/intel/licenses/' or /home/common/nfs/intel/licenses/. Make sure that the specified location must have already contained a valid licence for IntelĀ® MPI Library 4.1 for Linux (see above). ## ## 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 '/opt/intel/impi/4.1.0.024/lib64' >> /etc/ld.so.conf