<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Tue, 24 Nov 2009 21:34:25 -0800 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://software.intel.com/en-us/articles/intel-mpi-library-for-linux-kb/type/installation/feed/" rel="self" type="application/rss+xml" />
    <title>Intel Software Network articles feed</title>
    <link>http://software.intel.com/en-us/articles/intel-mpi-library-for-linux-kb/installation/</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Building the GAMESS with Intel® Compilers, Intel® MKL and Intel® MPI on Linux</title>
      <description><![CDATA[ <br /><b>Introduction :</b><br />This document explains how to build GAMESS using the Intel Software products:<br />Intel® C++ Compiler for Linux,<br />Intel® Fortran Compiler for LINUX,<br />Intel® MKL,<br />Intel® MPI for Linux.<br /><br /><br /><b>Version :</b><br />GAMESS version January 12, 2009 R3 for 64 bit IA64/x86_64.<br /><br /><b>Obtaining Source Code :</b><br />The GAMESS sources can be downloaded <a href="http://www.msg.chem.iastate.edu/gamess/download.html">here</a>.<br /><br /><b>Prerequisites :</b><br />Should be installed Intel® Compilers with Intel® MKL and Intel® MPI for Linux.<br /><br /><b>Environment Set Up :</b><br />Environment variables for the Intel(R) C++ Compiler Professional Edition for Linux, Intel(R) Fortran  Compiler Professional Edition for Linux and Intel(R) MPI should be set.<br />E.g.<br />$export INTEL_COMPILER_TOPDIR="/opt/intel/Compiler/11.1/046"<br />$. $INTEL_COMPILER_TOPDIR/bin/intel64/ifortvars_intel64.sh<br />$. $INTEL_COMPILER_TOPDIR/bin/intel64/iccvars_intel64.sh<br />$. /opt/intel/impi/3.2.1.009/bin64/mpivars.sh<br /><br /><b>Building the Application :</b><br />1)Copy/move tar file gamess-current.tar.gz to the directory /opt.<br /><br />2)Decompress source files<br />$ tar -zxvf gamess-current.tar.gz<br />.<br />3)<br />$cd ./gamess<br />.<br />4) Creating actvte.x file:<br />$cd ./tools<br />$cp actvte.code actvte.f<br />Replace all "*UNX" by " "(4 spaces with out " ") in the file actvte.f. Can be used any text editor.<br />$ifort -o actvte.x actvte.f<br />$rm actvte.f<br />$cd ..<br />.<br />5)Building the Distributed Data Interface(DDI) with Intel(R) MPI:<br />$cd ./ddi<br />a) Editing file ./compddi.<br />Set machine type (approximately line 18):<br />set TARGET=linux-ia64<br />Set MPI communication layer (approximately line 48):<br />set COMM = mpi<br />Set include directory for Intel® MPI (approximately line 105):<br />set MPI_INCLUDE_PATH = '-I/net/spdr62/opt/spdtools/impi/intel64/3.2.011/include64'<br />b)Build DDI with Intel(R) MPI<br />$ ./compddi &gt;&amp;compddi.log<br />c) If building completed successfully then library libddi.a will appear. Otherwise check compddi.log for errors.<br />d) $cd ..<br />.<br />6) Compiling the GAMESS:<br />a) Editing file ./comp<br />Set machine type (approximately line 15):<br />set TARGET=linux-ia64<br />Set the GAMESS root directory (approximately line 16):<br />chdir /opt/gamess<br />Uncomment line 1461:<br />setenv MKL_SERIAL YES<br />.<br />b) Editing file ./compall:<br />Set machine type (approximately line 16):<br />set TARGET=linux-ia64<br />Set the GAMESS root directory (approximately line 17):<br />chdir /opt/gamess<br />Set to use Intel® C++ Compiler (approximately line 70):<br />if  ($TARGET == linux-ia64) set CCOMP='icc'<br />c) Compiling the GAMESS:<br />$compall &gt;&amp;compall.log<br />Check file compall.log for errors.<br />d)<br />$cd ..<br />.<br />7)Liniking the GAMESS with Intel® Software products:<br />a) Editing file ./lked<br />Set machine type (approximately line 18):<br />set TARGET=linux-ia64<br />Set the GAMESS root directory (approximately line 19):<br />chdir /opt/games<br />Set MKL environment (approximately line 509):<br />setenv MKLPATH /net/spdr62/opt/spdtools/compiler/cpro/Compiler/11.1/046/mkl/lib/em64t<br />setenv MKL_SERIAL YES<br />set mklver=10<br />Set the message passing libraries in a single line (approximately line 714):<br />set MSG_LIBRARIES='../ddi/libddi.a -L/net/spdr62/opt/spdtools/impi/intel64/3.2.011/lib64 -lmpi -lmpigf -lmpigi -lrt -lpthread'<br />b) Link the GAMESS<br />$./lked &gt;&amp;lked.log<br />If linking completed successfully then executable file gamess.00.x will appear. Otherwise check lked.log for errors.<br /><br /><b>Running the Application :</b><br />This section below describes how to execute GAMESS with Intel® MPI. For further information check file ./ddi/readme.ddi.<br />For the testing GAMESS will be used script rungms as the base.<br />1)<br />Only few amends are needed.<br />Set the target for execution to mpi (line 59):<br />set TARGET=mpi<br />.<br />Set a directory SCR where large temporary files can reside(line 60):<br />E.g.<br />set SCR=/opt/gamess/tests<br />.<br />Correct the setting environment variables ERICFMT and MCPPATH (lines 127and 128):<br />E.g.<br />setenv ERICFMT /opt/gamess/ericfmt.dat<br />setenv MCPPATH /opt/gamess/mcpdata<br />.<br />Replace all “~$USER” by “/opt/gamess/tests”. Or by other directory.<br />NOTE: Directory /opt/gamess/tests/scr should exist. If no then create it.<br />Replace all “/home/mike/gamess” by “/opt/gamess”.<br />Correct the setting environment variables for Intel® MKL and MPI (lines 948 and 953):<br />E.g.<br />setenv LD_LIBRARY_PATH /opt/Compiler/11.1/046/mkl/lib/em64t<br />setenv LD_LIBRARY_PATH /opt/intel/impi/intel64/3.2.011/lib64:$LD_LIBRARY_PATH<br />.<br />Correct setting environment variables to execution Intel® MPI path (line 954):<br />E.g. set path=(/opt/intel/impi/intel64/3.2.011/bin64 $path)<br />.<br />Done.<br />2)<br />Now choose the testcase from directory ./tests and run GAMESS.<br />E.g.<br />$./rungms exam08<br />The output data will be stored in the directory /opt/gamess/scr.<br /><br />3) To execute GAMESS on 2 or more processes on 1 node:<br />$ ./rungms exam08 00 2<br /> ]]></description>
      <link>http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux</link>
      <pubDate>Wed, 26 Aug 2009 07:02:09 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/building-gamess-with-intel-compilers-intel-mkl-and-intel-mpi-on-linux</guid>
      <category>Intel Software Network communities</category>
      <category>Intel® MKL</category>
      <category>Intel® MPI Library</category>
      <category>Intel® C++ Compiler for Linux* Knowledge Base</category>
      <category>Intel® Fortran Compiler for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Installing the Intel(R) Cluster Tools on Debian-based systems</title>
      <description><![CDATA[ <p><b>I have a Debian-based system and would like to use the Intel® Cluster Tools.  Is there a way?</b></p>
<p>Officially, the Intel Cluster Tools support RPM-based installs only.  For a full list of supported OSes, check out our <a href="http://software.intel.com/en-us/articles/intel-cluster-toolkit-operating-system-compatibility/" target="_blank">compatibility matrix</a>.</p>
<p>If you’d still like to use the tools on Debian and Ubuntu systems, the following steps can help you in, at least, installing the tools.  Note that the process below still requires that a valid license for the desired Cluster Tool is present on the machine.</p>
<ol>
<li>Download the latest version of the Intel® MPI Library for Linux* from the <a href="https://registrationcenter.intel.com/" target="_blank">Intel® Registration Center</a>.</li>
<br />
<li>Untar the package and go down into the newly created directory
<blockquote>$ tar –xzf l_mpi_p_3.2.1.009.tgz<br /> $ cd l_mpi_p_3.2.1.009/</blockquote>
</li>
<br />
<li>Create a new directory and extract the RPM files using the provided install.sh script.  Note that you’d need a valid license to do so.
<blockquote>$ mkdir rpms<br /><br /> $ ./install.sh --extract=./rpms<br /> Extracting components...<br /> Extracting files...    ################################################   [100%]<br /> Product's rpm and EULA have been extracted in ./rpms<br /> Please carefully read EULA before using the product<br /><br /> $ ls –l<br /> 
<table border="0">
<tbody>
<tr>
<td style="margin-right: 10px">intel-mpi-em64t-3.2.1p-009.x86_64.rpm</td>
<td># SDK for the Intel MPI Library for Linux*</td>
</tr>
<tr>
<td style="margin-right: 10px">intel-mpi-rt-em64t-3.2.1p-009.x86_64.rpm     <br /></td>
<td># Runtime component of the Intel MPI Library</td>
</tr>
<tr>
<td style="margin-right: 10px">mpiEULA.txt</td>
<td># End-User License Agreement for the Intel MPI Library.<br /># Read before using.</td>
</tr>
<tr>
<td style="margin-right: 10px">redist.txt</td>
<td># List of Intel MPI Library files whose redistribution is allowed</td>
</tr>
</tbody>
</table>
</blockquote>
</li>
<br />
<li>Convert the <b>RPM</b> files into <b>DEB</b> files, to be installed on your Debian-based system using the <b>alien</b> utility
<blockquote>$ which alien<br /> /usr/bin/alien<br /><br />$ alien intel-mpi-em64t-3.2.1p-009.x86_64.rpm<br />intel-mpi-em64t_3.2.1p-10_amd64.deb generated</blockquote>
Here note that converting the SDK package for the Intel MPI Library is enough, as the runtime libraries are already contained within.</li>
<br />
<li>Now that you have the <b>.deb</b> file generated, install using your preferred method.  For example, this is how it’s done using the <b>dpkg</b> utility
<blockquote># This will use the default /opt/intel installation directory<br />$ dpkg --install intel-mpi-em64t_3.2.1p-10_amd64.deb</blockquote>
</li>
<br />
<li>Done!  You are now free to enjoy the Intel MPI Library at your leisure.</li>
<br />
<p>Even though this example highlighted the Debian-based installation of the Intel MPI Library, the same technique can be applied to the Intel® Cluster Toolkit for Linux*, Intel® Cluster Toolkit Compiler Edition for Linux*, and the Intel® Trace Analyzer and Collector for Linux*.</p>
</ol> ]]></description>
      <link>http://software.intel.com/en-us/articles/installing-cluster-tools-on-debian</link>
      <pubDate>Wed, 19 Aug 2009 09:56:06 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/installing-cluster-tools-on-debian#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/installing-cluster-tools-on-debian</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
      <category>Intel® Trace Analyzer and Collector for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Mutiple Installation Allowed for One User with Single User License </title>
      <description><![CDATA[ <p> </p>
<br />
<div id="art_pre_template"><strong>Problem : </strong><br />I have a single user license. Can I install the product on different machines with mutiple times?<br /><br /><strong>Resolution : <br /></strong>Yes, you can. Single-user license allows the license owner to install the product on mutiple systems. however, only <strong>ONE</strong> copy of the software may be in use at any one time. <br />Please see <a href="http://software.intel.com/en-us/articles/end-user-license-agreement/" target="_self"><strong>End User License Agreement</strong></a> for your reference.</div> ]]></description>
      <link>http://software.intel.com/en-us/articles/mutiple-install-allowed-with-single-user-lic</link>
      <pubDate>Mon, 18 May 2009 23:56:47 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/mutiple-install-allowed-with-single-user-lic#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/mutiple-install-allowed-with-single-user-lic</guid>
      <category>Intel® C++ Compiler for Linux* Knowledge Base</category>
      <category>Intel® C++ Compiler for Mac OS X* Knowledge Base</category>
      <category>Intel® C++ Compiler for Windows* Knowledge Base</category>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® Cluster Toolkit for Windows* Knowledge Base</category>
      <category>Intel® Fortran Compiler for Linux* Knowledge Base</category>
      <category>Intel® Fortran Compiler for Mac OS X* Knowledge Base</category>
      <category>Intel® Math Kernel Library Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Windows* Knowledge Base</category>
      <category>Intel® Parallel Amplifier Knowledge Base</category>
      <category>Intel® Parallel Composer Knowledge Base</category>
      <category>Intel® Parallel Inspector Knowledge Base</category>
      <category>Intel® Software Development Products Registration Center Knowledge Base</category>
      <category>Intel® Thread Checker for Linux* Knowledge Base</category>
      <category>Intel® Thread Checker for Windows* Knowledge Base</category>
      <category>Intel® Thread Profiler for Windows* Knowledge Base</category>
      <category>Intel® Threading Building Blocks Knowledge Base</category>
      <category>Intel® Visual Fortran Compiler for Windows* Knowledge Base</category>
      <category>Intel® VTune™ Performance Analyzer for Linux* Knowledge Base</category>
      <category>Intel® VTune™ Performance Analyzer for Windows* Knowledge Base</category>
    </item>
    <item>
      <title>General installation information</title>
      <description><![CDATA[ <ul>
<li><a href="#1">Installation prerequisites</a></li>
<li><a href="#2">Installation tips</a></li>
<li><a href="#3">Possible installation problems</a></li>
</ul>
<br />
<p><a name="1"><strong>Installation prerequisites</strong></a><br />Before using the Intel® MPI Library, make sure that following packages are installed on your system:</p>
<ul>
<li>Python* version 2.2 or higher, including the python-xml module. Python* distributions are available for download from your OS vendor or at  <a href="http://www.python.org/" target="_blank">http://www.python.org</a>† .</li>
<li>An XML parser such as expat or pyxml</li>
<li>If using InfiniBand*, Myrinet*, or other RDMA-capable network fabrics, a DAPL* version 1.1 or DAPL* version 1.2 standard-compliant provider library/driver is required. DAPL* providers are typically provided with your network fabric hardware and software.</li>
</ul>
<p><a name="2"><strong>Installation tips</strong></a><br />To install the Intel MPI Library for Linux*, do the following:</p>
<ol>
<li>Obtain a license key. Go to the <a href="https://registrationcenter.intel.com/" target="_blank">Intel® Registration Center</a> to obtain the license if you do not have a license key.</li>
<li>The installer provides an ability to install the Intel MPI Library on every node of your cluster. To utilize this feature create a machines.LINUX file that lists the nodes in the cluster using one hostname per line before starting the installation process. Make sure that the cluster has ssh connectivity.</li>
<li>Install the <code style="white-space:normal">l_mpi[-rt]_p_&lt;version&gt;.&lt;package#&gt;.tar.gz</code> package by using the following commands:
<blockquote><code style="white-space:normal"># cp l_mpi[-rt]_p_&lt;version&gt;.&lt;package#&gt;.tar.gz /tmp <br /># cd /tmp <br /># tar -xzf l_mpi[-rt] ]_p_&lt;version&gt;.&lt;package#&gt;.tar.gz</code></blockquote>
The last command will create subdirectory <code style="white-space:normal">l_mpi[-rt]_p_&lt;version&gt;.&lt;package#&gt;</code></li>
<li>Place the license file for the Intel MPI Library that is provided to you in <code style="white-space:normal">/tmp/l_mpi_p_&lt;version&gt;.&lt;package#&gt;</code> Do not change the file name as the <code style="white-space:normal">".lic"</code> extension is critical. For instance, do the following:commands:
<blockquote>&lt;<code style="white-space:normal"># cd cp l_mpi[-rt]_p_&lt;version&gt;.&lt;package#&gt; <br /># cp &lt;license key&gt;.lic.</code></blockquote>
Take into account the following notes:       
<ul>
<li>This installation does not overwrite any pre-existing Intel MPI Library you may have installed. <br />After installing the Intel® MPI Library you can continue to use the pervious versions of the Intel MPI Library by referring to the original installation directory.</li>
<li>The <code style="white-space:normal">./install</code> script allows you to avoid modification of the <code style="white-space:normal">/etc/ld.so.conf</code> file during installation in root mode. Use the <code style="white-space:normal">--update-ldsoconf</code> option, for example:
<blockquote><code style="white-space:normal"># ./install --update-ldsoconf no</code></blockquote>
</li>
<li>You can install the Intel MPI Library as an ordinary user. Run the <code style="white-space:normal">./install</code> script and follow the instructions, or add the <code style="white-space:normal">--nonroot --nonrpm</code> options to the <code style="white-space:normal">./install</code> invocation string above to select the non-root, non-RPM installation mode.</li>
<li>You can install the Intel MPI Library on a system that does not use the RPM* package manager. Add the <code style="white-space:normal">--nonrpm</code> option to the <code style="white-space:normal">./install</code> invocation string above to select the non-RPM installation mode. <br />Alternatively, you can extract the Intel MPI Library RPM* package and mpiEULA.txt file. Use the <code style="white-space:normal">--extract</code> option and indicate the desired extraction directory, for example:
<blockquote><code style="white-space:normal"># ./install --extract /tmp</code></blockquote>
</li>
<li>The <code style="white-space:normal">./install</code> script enables you to select the install location on most operating systems. Select the exact same install location when installing Intel MPI Library on each node of your cluster.</li>
<li>The default installation path for the Intel MPI Library is <code style="white-space:normal">/opt/intel/impi/3.2</code></li>
<li>The <code style="white-space:normal">./install</code> script has a silent installation mode that can help you to install Intel MPI Library on clusters with many nodes. In order to use this mode, edit the file <code style="white-space:normal">SilentInstallConfigFile.ini</code> contained in the unpacked package directory. In particular, change the line
<blockquote><code style="white-space:normal">EULA=reject</code></blockquote>
to read
<blockquote><code style="white-space:normal">EULA=accept</code></blockquote>
Other lines in the file enable you to define the <code style="white-space:normal">INSTALLDIR</code>, <code style="white-space:normal">LICENSEPATH</code>, <code style="white-space:normal">INSTALLMODE</code>, <code style="white-space:normal">PROCEED_WITHOUT_PYTHON</code>, <code style="white-space:normal">UPDATE_LD_SO_CONF</code>, <code style="white-space:normal">INSTALLUSER</code>, <code style="white-space:normal">ARCH</code>, <code style="white-space:normal">AUTOMOUNTED_CLUSTER</code>, <code style="white-space:normal">MACHINES_CONFIG</code> and <code style="white-space:normal">SKIP_MOUNTED</code> parameters. <br />After editing the file use the following command instead of the usual <code style="white-space:normal"># ./install</code> command:
<blockquote><code style="white-space:normal"># ./install --silent SilentInstallConfigFile.ini</code></blockquote>
</li>
</ul>
</li>
<li>Add the following <code style="white-space:normal">PATH</code> and/or <code style="white-space:normal">LD_LIBRARY_PATH</code> settings in your <code style="white-space:normal">.cshrc</code> or <code style="white-space:normal">.bashrc</code> files so that the settings are visible on all nodes in your cluster:</li>
</ol> 
<ul>
<li>Ensure that Python* is in your <code style="white-space:normal">PATH</code></li>
<li>Source the appropriate <code style="white-space:normal">mpivars.[c]sh</code> script from the Intel MPI Library <code style="white-space:normal">bin</code> (or, if applicable, <code style="white-space:normal">bin64</code>) directory</li>
<li>If using Intel® compilers, source any required <code style="white-space:normal">*vars.[c]sh</code> scripts</li>
<li>Set up additional environment variables as needed. See the  <em>Intel MPI Library for Linux Getting Started Guide</em> for more information.</li>
</ul>
<p><a name="3"><strong>Possible installation problems</strong></a></p>
<ul>
<li>If installation of the Intel MPI Library package fails and shows the error message: <code style="white-space:normal">"Intel® MPI Library already installed"</code> when a package is not actually installed, try the following:</li>
<li>Determine the package number that the system believes is installed by typing:
<blockquote><code style="white-space:normal"># rpm -qa | grep intel-mpi</code></blockquote>
This command returns an Intel MPI Library &lt;package name&gt;.</li>
<li>Remove the package from the system by typing:
<blockquote><code style="white-space:normal"># rpm -e &lt;package name&gt;</code></blockquote>
</li>
<li>Re-run the Intel MPI Library installer to install the package. <br /><strong>TIP</strong>: To avoid installation errors, always remove Intel MPI Library packages using the uninstall script provided with the package before trying to install a new package or reinstall an older one.</li>
<li>Due to an installer limitation, avoid installing earlier releases of the Intel MPI Library packages after having already installed the current release. It corrupts the installation of the current release and requires that you uninstall/reinstall it.</li>
</ul>
<img src="http://software.intel.com/file/6408" alt="" width="1" height="10" /><br />
<p class="xs"><span style="font-family: Arial,Helvetica,sans-serif; font-size: xx-small;"> <sup>†</sup> This link will take you off of the Intel Web site. Intel does not control the content of the destination Web Site.</span></p> ]]></description>
      <link>http://software.intel.com/en-us/articles/intel-mpi-library-for-linux-general-installation-information</link>
      <pubDate>Fri, 19 Sep 2008 00:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/intel-mpi-library-for-linux-general-installation-information#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/intel-mpi-library-for-linux-general-installation-information</guid>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
  </channel></rss>