<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Sun, 12 Feb 2012 07:12:52 -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/known-issues/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/type/known-issues/</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Syntax errors when running Intel® MPI Library scripts under Ubuntu</title>
      <description><![CDATA[ <p><b>Problem : </b></p>
<p>I'm trying to run the Intel® MPI Library on my Ubuntu system. Installation went fine but I see this error when trying to run:</p>
<blockquote>gsslavov@backuppc:~$ mpirun -np 4 hostname<br />/home/gsslavov/intel/impi/3.2.2.006/bin/mpirun: 63: Syntax error: "(" unexpected (expecting "fi")</blockquote>
<p>What's going on?</p>
<p><b>Environment : </b></p>
<p>This applies to systems running Ubuntu 9.10 or later (as well as Ubuntu 8.04 LTS or later)</p>
<p><b>Root Cause : </b></p>
<p>It seems that with version 9.10, Ubuntu has decided to change the default shell from <code>bash</code> to <code>dash</code>. More info is available from the link in the excerpt below:</p>
<blockquote>In Ubuntu 6.10, the default system shell, /bin/sh, was changed to <b>dash</b> (the Debian Almquist Shell); previously it had been <b>bash</b> (the GNU Bourne-Again Shell). <a target="_blank" href="https://wiki.ubuntu.com/DashAsBinSh">This document explains this change and what you should do if you encounter problems.</a><br /><br />The default login shell remains <b>bash</b>.
<div></div>
</blockquote>
<p>The two shells are not fully compatible (since <code>bash</code> is quite more extensive than <code>dash</code>), thus leading to the syntax errors.</p>
<p><b>Resolution : </b></p>
<p>If you'd like to continue using the Intel MPI Library (or any of the Cluster Tools) on Ubuntu, the fix for this issue is fairly simple: change the <code>/bin/sh</code> symlink to point from <code>dash</code> to <code>bash</code>:</p>
<blockquote>$ rm /bin/sh<br />$ ln -s /bin/bash /bin/sh</blockquote>
<div></div> ]]></description>
      <link>http://software.intel.com/en-us/articles/syntax-errors-when-running-intelr-mpi-library-scripts-under-ubuntu/</link>
      <pubDate>Mon, 21 Dec 2009 22:00:00 -0800</pubDate>
      <comments>http://software.intel.com/en-us/articles/syntax-errors-when-running-intelr-mpi-library-scripts-under-ubuntu/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/syntax-errors-when-running-intelr-mpi-library-scripts-under-ubuntu/</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>Random fabric errors on Red Hat Enterprise Linux 5.4</title>
      <description><![CDATA[ <p><b>Problem:</b></p>
<p>The Intel® MPI Library fails intermittently when run over the <code>RDSSM</code> or <code>RDMA</code> devices. Approximately 5-10% of runs fail on RHEL (Red Hat Enterprise Linux) 5.4, but this problem does not occur on earlier versions of RHEL.</p>
<p>When reviewing the debug output, the following error is seen during the Intel MPI Library operations:</p>
<blockquote>setup_listener Cannot assign requested address</blockquote>
<br />
<p><b>Environment:</b></p>
<p>Red Hat Enterprise Linux 5.4 only</p>
<p><b>Root Cause:</b></p>
<p>This error occurs with the Intel MPI Library and the version of OFED (Open Fabrics Enterprise Distribution) included with RHEL 5.4. There is a potential port space conflict with RDS (reliable datagram sockets) and when this port space conflict occurs, uDAPL does not resolve it correctly.</p>
<p>By default, the Intel MPI Library uses its process ID to define its port number. In RHEL 5.4, the process ID can occasionally match a port number that the RDS driver has already allocated, which creates a port space conflict. Currently, uDAPL will reply with the wrong return code to the Intel MPI Library and communication will fail.</p>
<p><b>Resolution:</b></p>
<p>As a temporary workaround, set the following environment variable on all nodes:</p>
<blockquote>$ export I_MPI_RDMA_CREATE_CONN_QUAL = 0</blockquote>
<p>After setting this variable, the Intel MPI Library will not define its port number from its process ID.</p>
<p>This error is resolved in DAPL 2.0.25, to be included in Open Fabrics Enterprise Distribution (OFED) 1.5.  Status of the resolution can be found in <a href="http://www.openfabrics.org/downloads/dapl/" target="_blank">the latest OFED release notes</a>.</p> ]]></description>
      <link>http://software.intel.com/en-us/articles/random-fabric-errors-on-rhel5U4/</link>
      <pubDate>Tue, 01 Dec 2009 22:00:00 -0800</pubDate>
      <comments>http://software.intel.com/en-us/articles/random-fabric-errors-on-rhel5U4/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/random-fabric-errors-on-rhel5U4/</guid>
      <category>Intel® Cluster Checker Knowledge Base</category>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Error: could not determine icc directory for driver: mpiifort</title>
      <description><![CDATA[ <p>When I run  <strong>mpiifort test.f90</strong> I get the following error:</p>
<blockquote><strong>ERROR: could not determine icc directory for driver: mpiifort</strong></blockquote>
<p>We are not using the Intel® C Compiler on our cluster system, nor does this error affect any of the other MPI compilation drivers. The Intel® Fortran compiler works fine on its own. How can I fix this issue with Intel MPI Fortran compilation?</p>
<p>The  <strong>mpiifort</strong> compilation script calls a shell script named  <strong>compchk.sh</strong>. A short term fix is to compile the application  <strong>test.f90</strong> or  <strong>test.f</strong> with  <strong>-nocompchk</strong> as follows:</p>
<blockquote><strong>mpiifort -nocompchk test.f90</strong><br />and <br /><strong>mpiifort -nocompchk test.f</strong></blockquote>
<br />
<p><strong>Note:</strong> This issue appears for older versions of the Intel® MPI Library (1.x to 2.x).  It is strongly encouraged that you upgrade to the latest version of the Intel MPI Library instead.  This check has been disabled in later releases.</p>
<p><strong>Operating System:</strong></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="xs">SUSE* Linux Enterprise Server 9.0, SUSE* Linux Enterprise Server 10, Red Hat* Enterprise Linux 4.0, Red Hat* Enterprise Linux 5.0, SGI ProPack 5</td>
</tr>
</tbody>
</table> ]]></description>
      <link>http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-error-could-not-determine-icc-directory-for-driver-mpiifort/</link>
      <pubDate>Mon, 22 Jun 2009 22:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-error-could-not-determine-icc-directory-for-driver-mpiifort/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-error-could-not-determine-icc-directory-for-driver-mpiifort/</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Error when compiling C++ aps using Intel® MPI Library compilation driver mpiicpc</title>
      <description><![CDATA[ <p><strong>Issue</strong></p>
<p>When compiling certain C++ applications using the Intel® MPI Library compilation driver  <strong>mpiicpc</strong>, I encounter an error message that looks something like the following:</p>
<blockquote>… <br />/opt/intel/mpi/3.1/include/mpicxx.h(45): catastrophic error: #error directive: "SEEK_SET is #defined but must not be for the C++ binding of MPI" <br /> #error "SEEK_SET is #defined but must not be for the C++ binding of MPI" <br /> ^  <br /><br />Compilation aborted for my_mpi_program.cpp (code 4) <br />make: *** [my_mpi_program.o] Error 4</blockquote>
<strong>Solution</strong>
<p>For the application  <strong>my_mpi_program.cpp</strong>, you have two options:</p>
<ol>
<li>Try organizing the include files such that  <strong>mpi.h</strong> comes before <strong>stdio.h</strong></li>
<li>Use the -DMPICH_IGNORE_CXX_SEEK and -DMPICH_SKIP_MPICXX options at compile time           
<ul>
<li>Refer to  <a href="http://www-unix.mcs.anl.gov/mpi/mpich/faq.htm#cxxseek" target="_blank">http://www-unix.mcs.anl.gov/mpi/mpich/faq.htm#cxxseek</a>†  for more information.</li>
</ul>
</li>
</ol>
<p><img src="http://software.intel.com/file/6408" alt="" width="1" height="10" /></p>
<p class="xs"><span > <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-cluster-toolkit-for-linux-error-when-compiling-c-aps-using-intel-mpi-library-compilation-driver-mpiicpc/</link>
      <pubDate>Mon, 22 Jun 2009 22:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-error-when-compiling-c-aps-using-intel-mpi-library-compilation-driver-mpiicpc/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-error-when-compiling-c-aps-using-intel-mpi-library-compilation-driver-mpiicpc/</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>Master node issue</title>
      <description><![CDATA[ <p><strong>Issue</strong></p>
<p>I have a cluster, which has for example 3 nodes, where the mpd.hosts file contains:</p>
<blockquote>$ cat mpd.hosts <br />node2 <br />node3</blockquote>
<p>The  <strong>master node</strong>, which is  <strong>node1</strong> is not listed in the  <strong>mpd.hosts</strong> file. The shell commands:</p>
<blockquote>$ mpdboot -r ssh -n 2 -f ~/mpd.hosts <br />$ mpiexec -n 4 /bin/hostname</blockquote>
which are issued from  <strong>node1</strong> reveal the following:
<blockquote>node1 <br />node1 <br />node2 <br />node2</blockquote>
<p> </p>
<p><strong>Solution</strong></p>
<p>By design, the  <strong>master node</strong> (i.e., the node where the  <strong>mpiexec</strong> command is launched from) needs to have a daemon running. If you want to run your application on  <strong>node2</strong> and  <strong>node3</strong>, you can use the  <strong>-host</strong> options with the  <strong>mpiexec</strong> command as follows:</p>
<blockquote>$ mpdboot -r ssh -n 3 -f ~/mpd.hosts <br />$ mpiexec -n 2 -host node2 /bin/hostname : -n 2 -host node3 /bin/hostname</blockquote>
Or simply to use the <strong>-nolocal</strong> option for <strong>mpiexec</strong> as follows:
<blockquote>$ mpdboot -r ssh -n 3 -f ~/mpd.hosts <br />$ mpiexec -nolocal -n 4 /bin/hostname</blockquote>
<p>This will run the hostname command on nodes  <strong>node2</strong> and  <strong>node3</strong> only, even though there are three mpd daemons total.</p> ]]></description>
      <link>http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-master-node-issue/</link>
      <pubDate>Mon, 22 Jun 2009 22:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-master-node-issue/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/intel-cluster-toolkit-for-linux-master-node-issue/</guid>
      <category>Intel® Cluster Toolkit for Linux* Knowledge Base</category>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
    <item>
      <title>&amp;#39;mpiexec -idb&amp;#39; fails to start the Intel GUI debugger correctly</title>
      <description><![CDATA[ <em></em><br />
<div id="art_pre_template">Reference Number : DPD200136769<br /><br /><br />Version : Intel MPI 3.x, Intel C++ Linux compiler 11.x, Intel Fortran Linux compiler 11.x<br /><br /><br />Operating System : Linux<br /><br /><br />Problem Description : This is only an issue on Linux systems using Intel® 64 architecture-based processors.  On such systems, the IDB debugger included with the Intel C++ and Fortran 11.x compilers runs in GUI mode by default.  If you launch an MPI job under the debugger's control, for example, with 'mpiexec -idb -n <em>number_of_processes</em> <em>mpi_application_name',</em> the IDB GUI and a console will come up, but neither can effectively be used to debug the MPI application.  <br /><br />A possible workaround is to rename idb, and then make idb a symbolic link the idbc, the command line IDB.<br />In the IDB_HOME directory (by default, the location is /opt/intel/Compiler/11.x/&lt;version&gt;/bin/intel64), please do:<br />mv idb idbgui<br />ln -s idbc idb<br /><br />As always, be sure to set environment variable IDB_HOME to the location of the IDB binaries, and set MPIEXEC_DEBUG=1 before launching a debugging session.<br /><br /><br />Resolution Status :  This issue may be resolved in a future version of Intel IDB for Linux<br /><br /><br /><br /><em>[DISCLAIMER: The information on this web site is intended for hardware system manufacturers and software developers. Intel does not warrant the accuracy, completeness or utility of any information on this site. Intel may make changes to the information or the site at any time without notice. Intel makes no commitment to update the information at this site. ALL INFORMATION PROVIDED ON THIS WEBSITE IS PROVIDED "as is" without any express, implied, or statutory warranty of any kind including but not limited to warranties of merchantability, non-infringement of intellectual property, or fitness for any particular purpose. Independent companies manufacture the third-party products that are mentioned on this site. Intel is not responsible for the quality or performance of third-party products and makes no representation or warranty regarding such products. The third-party supplier remains solely responsible for the design, manufacture, sale and functionality of its products. Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others.]</em></div> ]]></description>
      <link>http://software.intel.com/en-us/articles/mpiexec-idb-fails-to-start-the-intel-gui-debugger-correctly/</link>
      <pubDate>Tue, 16 Jun 2009 23:00:00 -0700</pubDate>
      <comments>http://software.intel.com/en-us/articles/mpiexec-idb-fails-to-start-the-intel-gui-debugger-correctly/#comments</comments>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/mpiexec-idb-fails-to-start-the-intel-gui-debugger-correctly/</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>
      <category>Intel® MPI Library for Linux* Knowledge Base</category>
    </item>
  </channel></rss>
