<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Wed, 25 Nov 2009 18:02:20 -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-cluster-toolkit-for-linux-kb/type/technical-notes/feed/" rel="self" type="application/rss+xml" />
    <title>Intel Software Network articles feed</title>
    <link>http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-kb/technical-notes/</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Compiler installation path changed for Intel® Cluster Toolkit Compiler Edition 3.2.1</title>
      <description><![CDATA[ Intel® Cluster Toolkit Compiler Edition 3.2.1 or later installs the 11.x compiler components in different directories compared to earlier products. The compiler components in the toolkit now use the same layout as the standalone 11.x compiler products.  <br /><br />The previous version of the toolkit, 3.2.020, installed the 10.1 or 11.0 compiler components as follows:<br />./intel/fc/&lt;version&gt; &lt;&lt;== Fortran compiler<br />./intel/cc/&lt;version&gt; &lt;&lt;== C++ compiler<br /><br />The current version of the toolkit, 3.2.1.015, now installs the 11.x compiler components with the same layout as the standalone compiler products, as follows:<br />./intel/Compiler/11.x/&lt;version&gt; &lt;&lt;== BOTH Fortran and C++ compilers<br /><br />Future versions of the toolkit will continue to install the compilers with the same directory structure as the standalone compiler products.<br /><br /><br /> ]]></description>
      <link>http://software.intel.com/en-us/articles/compiler-installation-path-changed-for-intel-cluster-toolkit-compiler-edition-321</link>
      <pubDate>Mon, 22 Jun 2009 06:58:02 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/compiler-installation-path-changed-for-intel-cluster-toolkit-compiler-edition-321#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/compiler-installation-path-changed-for-intel-cluster-toolkit-compiler-edition-321</guid>
      <category>Intel® C++ Compiler for Linux* Knowledge Base</category>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® Fortran Compiler for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Issue with RPM installation on Itanium</title>
      <description><![CDATA[ <br />
<div id="art_pre_template">
<p><strong>Problem : </strong><br />The 4.2.2 version of RPM on Red Hat Enterprise Linux 3.0 for the Itanium architecture has a broken relocation feature. This will be a serious problem for users trying to install on clusters where there are shared devices.</p>
<p>Secondly, on Itanium architecture for some OSes (such as Red Hat Enterprise Linux 4.0 Update 7 and Red Hat Enterprise Linux 5.0 Update 2), the installation of the Intel® Math Kernel Library non-native components <strong><code style="white-space:normal">"…/lib/32"</code></strong> and <strong><code style="white-space:normal">"…/lib/em64t"</code></strong> is affected when those components are found to be missing after a distributed install is done into local directories on each node of the cluster.</p>
<p> </p>
<p><strong>Environment : </strong><br />Red Hat Enterprise Linux 3.0<br />Red Hat Enterprise Linux 4.0 Update 7<br />Red Hat Enterprise Linux 5.0 Update 2</p>
<p> </p>
<p><strong>Root Cause : </strong><br />Broken Relocation Feature in RPM 4.2.2</p>
<p> </p>
<p><strong>Resolution : </strong><br />A recommended solution is for the user to upgrade to the latest release of RPM. Visit <a href="http://www.redhat.com" target="_blank">http://www.redhat.com</a> to find a recent release of RPM that resolves this problem on Itanium.</p>
<p>In regards to the missing MKL components, two known workarounds for this issue are:</p>
<ol>
<li>Install the Intel® Cluster Tools at the default location (<strong><code style="white-space:normal">/opt/intel</code></strong>)</li>
<li>Use the non-rpm mode for installation (i.e., use the installer command-line option <strong><code style="white-space:normal">--nonrpm</code></strong>)</li>
</ol>
<p><strong>NOTE:</strong> The above problem does not seem to appear on SLES 10 and SLES 11 for Itanium.</p>
</div> ]]></description>
      <link>http://software.intel.com/en-us/articles/issue-with-rpm-installation-on-itanium</link>
      <pubDate>Thu, 11 Jun 2009 12:38:13 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/issue-with-rpm-installation-on-itanium#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/issue-with-rpm-installation-on-itanium</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Integrating Intel MPI Library with Sun Grid Engine </title>
      <description><![CDATA[ <p class="sectionHeadingText">So, you want to use Intel® MPI Library with the Sun* Grid Engine* (SGE) batch scheduler?</p>
<p>The below instructions describe how to run Intel MPI jobs using Sun Grid Engine. This document relates to Linux*.  While there are some differences and additional steps when using Microsoft* Windows*, in general the procedure is the same.</p>
<p>All optional steps are recommended but not necessary for successful integration.</p>
<ol>
<li>[Optional] Visit <a href="http://www.sun.com/software/gridware/" target="_blank">sun.com</a> and get a brief overview of SGE</li>
<li>Installation
<p>See the <a href="http://docs.sun.com/app/docs/doc/820-0697?a=load" target="_blank">Installation Guide</a> from sun.com for details.  Roughly, the steps are as follows:</p>
<ul>
<li>Install Master Host (see ‘How to Install the MasterHost’ section);</li>
<li>Install Execution Host (see ‘How to Install ExecutionHosts’ section);</li>
<li>Register Administration Hosts (see the corresponding section in the Installation Guide);</li>
<li>Register Submit Hosts (see corresponding section);</li>
<li>Verify the installation (see corresponding section).</li>
</ul>
<p>IMPORTANT NOTES:</p>
<ul>
<li>To finalize the installation process, you’ll have to configure the network services manually (by modifying /etc/services), which requires root privileges.</li>
<li>It’s possible to install/run SGE as a non-privileged user, but <ol>
<li>there are some limitations in that case;</li>
<li>you need root privileges for the complete installation process (at least, for modifying /etc/services).</li>
</ol> </li>
</ul>
</li>
<li>Create a new Parallel Environment (PE) for Intel MPI<ol>
<li>Create the appropriate configuration file for the new PE. It should contain the following lines:          
<table border="0">
<tbody>
<tr>
<td width="120">pe_name</td>
<td>impi</td>
</tr>
<tr>
<td>slots</td>
<td>999</td>
</tr>
<tr>
<td>user_lists</td>
<td>NONE</td>
</tr>
<tr>
<td>xuser_lists</td>
<td>NONE</td>
</tr>
<tr>
<td>start_proc_args</td>
<td>NONE</td>
</tr>
<tr>
<td>stop_proc_args</td>
<td>NONE</td>
</tr>
<tr>
<td>allocation_rule</td>
<td>$round_robin</td>
</tr>
<tr>
<td>control_slaves</td>
<td>FALSE</td>
</tr>
<tr>
<td>job_is_first_task</td>
<td>FALSE</td>
</tr>
<tr>
<td>urgency_slots</td>
<td>min</td>
</tr>
</tbody>
</table>
</li>
<li>Add the new PE using the following command:
<blockquote><code>‘qconf –Ap &lt;config_file&gt;’</code></blockquote>
</li>
</ol>
<p>USEFUL COMMANDS:<br />* <code>qconf –spl</code> – view all PEs currently available;<br />* <code>qconf –sp &lt;PE_name&gt;</code> - view settings for a particular PE;<br />* <code>qconf –dp &lt;PE_name&gt;</code> - remove a PE;<br />* <code>qconf –mp &lt;PE_name&gt;</code> - modify an existing PE.</p>
<p>Also see the ‘Managing Special Environment’ section in the <a href="http://docs.sun.com/app/docs/doc/820-0698?a=load" target="_blank">Administration Guide</a> from sun.com if you need more details about PE configuration.</p>
</li>
<li>Associate a queue with the new PE
<p>Use the following commands for that:</p>
<ol>
<li><code>qconf –sql</code> – to see all queues available;</li>
<li><code>qconf –mq &lt;queue_name&gt;</code> - to modify the queue’s settings. Find the ‘pe_list’ property in the open window and add the ‘impi’ string to that property.</li>
</ol>
<p>USEFUL COMMANDS:<br />* <code>qconf –sq &lt;queue_name&gt;</code> - view the queue’s settings.</p>
<p>See the Administration Guide if you need more details about the queue configuration process.</p>
</li>
<li>Add Intel MPI environment to your current environment by sourcing the appropriate <strong>mpivars.[c]sh</strong> script located in the &lt;install_dir&gt;/bin[64] directory</li>
<li>Build the MPI application to be run</li>
<li>[Optional] Make sure that Intel MPI works fine on the desired hosts. For this, manually run your application on the desired hosts individually</li>
<li>Submit your MPI job to SGE
<p>Use the following command for that:</p>
<blockquote><code>qsub -N &lt;job_name&gt; -pe impi &lt;num_of_processes&gt; \<br /> -V &lt;mpirun_absolute_name&gt; -r ssh -np &lt;num_of_processes&gt; &lt;app_absolute_name&gt;</code></blockquote>
<br />where<br />-V option is used so that all environment variables available in the current shell are exported to a job.
<p> </p>
<p>USEFUL COMMANDS to monitor and control jobs:<br />* <code>qstat</code> – show status of SGE jobs and queues;<br />* <code>qstat –j</code> – show detailed information about jobs (can be useful for pending jobs);<br />* <code>qdel</code> – remove existing job.<br />After submitting the job you can monitor its status using the <strong>qstat</strong> command. When the job is finished, you can find the job’s output and error output in your HOME directory – just look for &lt;job_name&gt;.o&lt;jobID&gt; and &lt;job_name&gt;.e&lt;jobID&gt; files.</p>
<p>See the <a href="http://docs.sun.com/app/docs/doc/820-0699?a=load" target="_blank">User’s Guide</a>, if you need more information about the job submission process.</p>
</li>
</ol>
<p class="sectionHeadingText">Closer integration with SGE</p>
<p>Read the 'Tight Integration of Parallel Environments and Grid Engine Software' section in <a href="http://docs.sun.com/app/docs/doc/820-0698?a=load" target="_blank">SGE's Administration Guide</a> first.</p>
<p>To enable tight integration for Intel MPI, use the same procedure as the one mentioned above, but use a different configuration file for the PE at step #3.</p>
<p>The configuration file should contain the following lines:           
<table border="0">
<tbody>
<tr>
<td width="120">pe_name</td>
<td>impi_tight</td>
</tr>
<tr>
<td>slots</td>
<td>999</td>
</tr>
<tr>
<td>user_lists</td>
<td>NONE</td>
</tr>
<tr>
<td>xuser_lists</td>
<td>NONE</td>
</tr>
<tr>
<td>start_proc_args</td>
<td>&lt;SGE_install_dir&gt;/mpi/startmpi.sh -catch_rsh $pe_hostfile</td>
</tr>
<tr>
<td>stop_proc_args</td>
<td>&lt;SGE_install_dir&gt;/mpi/stopmpi.sh</td>
</tr>
<tr>
<td>allocation_rule</td>
<td>$round_robin</td>
</tr>
<tr>
<td>control_slaves</td>
<td>TRUE</td>
</tr>
<tr>
<td>job_is_first_task</td>
<td>FALSE</td>
</tr>
<tr>
<td>urgency_slots</td>
<td>min</td>
</tr>
</tbody>
</table>
</p> ]]></description>
      <link>http://software.intel.com/en-us/articles/integrating-intel-mpi-sge</link>
      <pubDate>Fri, 03 Apr 2009 08:22:27 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/integrating-intel-mpi-sge#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/integrating-intel-mpi-sge</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>No trace file using Intel® Trace Analyzer and Collector</title>
      <description><![CDATA[ <p><strong>Issue</strong></p>
<p>When I instrument the application  <strong>test.cpp</strong> with the Intel® MPI Library compilation driver  <strong>mpiicpc</strong> and with the Intel® Trace Collector using the command line (listed below) for Itanium®-based systems for Intel® Pentium® 4, Intel® Xeon®, and Intel® 64-based architectures, I do not produce a trace file.</p>
<blockquote><code>mpiicpc test.cpp -g -L${VT_ROOT}/lib -lVT -lvtunwind -ldwarf -lelf -lpthread -lm <br /> -o testcpp_inst</code><br /><br /><strong>or with the command:</strong><br /><br /><code>mpiicpc test.cpp -g -L${VT_ROOT}/lib -lVT -ldwarf -lelf -lpthread -lm <br /> -o testcpp_inst</code></blockquote>
<br />
<p><strong>Solution</strong></p>
<p>When compiling the C++ application  <strong>test.cpp</strong> with the Intel® C/C++ compiler (<strong>mpiicpc</strong>) and with Intel® Trace Collector requires an additional library called  <strong>-lmpiic</strong>. The rule for this is that if one uses the MPI-2 C++ application programming interfaces (APIs) with the Intel® C/C++ compilers, then Intel® Trace Collector cannot intercept the MPI calls as they are written. They have to be mapped to C function calls first, with the help of an MPI implementation-specific wrapper library, which with respect to the command-line, has to be placed in front of the Intel® Trace Collector library. The name of that wrapper library for the  <strong>mpiicpc</strong> compilation driver is  <strong>-lmpiic</strong>. Thus, for Itanium®-base systems the command line should be:</p>
<blockquote><code>mpiicpc test.cpp -g -lmpiic -L${VT_ROOT}/lib -lVT -lvtunwind -ldwarf -lelf -lpthread -lm <br /> -o testcpp_inst</code><br /><br /> and for Intel® Pentium® 4, Intel® Xeon®, and Intel® 64-based architectures the compilation protocol should be:<br /><br /> <code>mpiicpc test.cpp -g -lmpiic -L${VT_ROOT}/lib -lVT -ldwarf -lelf -lpthread -lm <br /> -o testcpp_inst</code></blockquote> ]]></description>
      <link>http://software.intel.com/en-us/articles/intel-cluster-tools-no-trace-file-using-intel-trace-analyzer-and-collector</link>
      <pubDate>Fri, 16 Jan 2009 15:57:26 -0800</pubDate>
      <comments>http://software.intel.com/en-us/articles/intel-cluster-tools-no-trace-file-using-intel-trace-analyzer-and-collector#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/intel-cluster-tools-no-trace-file-using-intel-trace-analyzer-and-collector</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® Trace Analyzer and Collector for Linux* Knowledge Base</category>
    </item>
  </channel></rss>