#! /bin/bash ## This scrip install intel mpi version 3.2.1.009 in a Linux Rocks clsuter. It must be exceted as su. ## For this instruction, the machines.LINUX file is to be created in /share/apps/. touch /share/apps/machines.LINUX echo '10.1.1.1 compute-0-0 compute-0-1 compute-0-2 compute-0-3 compute-0-4 compute-0-5 compute-0-6 compute-0-7 compute-0-8 compute-0-9' > /share/apps/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 prmompted "Press Enter if you agree with this or specify another prefix:" ## Type "/share/apps/intel/impi/3.2.1.009" and say yes in the next prompt. ## When prompted 'Please specify the location of the machines.LINUX file or 'x' to exit [machines.LINUX]: ## type '/share/apps/machines.LINUX' ## Answer yes to all. echo '/share/apps/intel/impi/3.2.1.009/lib64' >> /etc/ld.so.conf