#! /bin/bash ## this scrip installs intel mpi version 4.1.0.024 in /share/apps/intel of a Rocks cluster. It must exceted as su. #obtain license file from https://registrationcenter.intel.com/en/forms/?productid=2163 by filling up the IntelĀ® Parallel Studio XE Cluster Edition for Linux form. Trial license will be sent via email. The serial number, e.g. VC88-CSPFVCHD will be needed in order to activate the intel compileres (icc, ifort, mkl and impi) for a month. Skip this if intel icc has been installed based on http://www2.fizik.usm.my/configrepo/howto/intel/inst_icc_11.0.081_sa, as licensed would have been installed. If valid license file is already in existence, installation will prompt for 'used existing licence', so that no serial will be needed in this case. 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 # At the prompt # Step no: 4 of 6 | Options #-------------------------------------------------------------------------------- #You are now ready to begin installation. You can use all default installation settings by simply choosing the "Start installation Now" option or you can customize these settings by selecting any of the change options given below first. You can view a summary of the settings by selecting # 1. Start installation Now # 2. Change install directory [ /opt/intel/impi/4.1.0.024 ] # 3. Change advanced options [ Current node ] # 4. Show pre-install summary # # Type selection 2. Change install directory to set the installation directory to # /share/apps/intel/impi/4.1.0.024 ## Then type '1' for 'Start installation Now'. Answer yes to all prompts that follow. # impi is not to be used as the default mpi library. If a $USER wishes to use impi lib and its executable, he has to type the following line in the terminal, # sh /share/apps/intel/impi/4.1.0.024/bin64/mpivars.sh intel64 # Alternatively, if $USER wishes to permanantly make impi as the default mpi, he has to add the line in his/her ~/.bashrc file.