<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Debugger hanging due to Python mismatch problem in Intel Cluste in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772526#M220</link>
    <description>Hi Dmitry,&lt;BR /&gt;&lt;BR /&gt;After reading the article above, I modified the file mpiexec.py in the following manner:&lt;BR /&gt;&lt;BR /&gt;1) every reference to the interpreter &lt;B&gt;python&lt;/B&gt; was substituted by &lt;B&gt;python2.4&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;2) every link to &lt;B&gt;/usr/bin/python&lt;/B&gt; was substituted by &lt;B&gt;/usr/local/bin/python2.4&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;By doing these modifications, I was able to get rid of the warning message that I get when I use the original version of mpiexec.py:&lt;BR /&gt;&lt;BR /&gt;'mpiexec:1219: RuntimeWarning: Python C API version mismatch for module 
mtv: This Python has API version 1013, module mtv has version 1012'&lt;BR /&gt;&lt;BR /&gt;since python2.4 (version 2.4.3) has the same API (version 1012) than module mtv. But IDB still hangs with an odd behavior. After calling IDB with the command:&lt;BR /&gt;&lt;BR /&gt;'mpiexec -idb -genv MPIEXEC_DEBUG 1 -n 2 -host dragon ./vat_2d_69_debug'&lt;BR /&gt;&lt;BR /&gt;an xterm is opened and closed immediately, giving no time to read the message inside. Do you know if the xterm message is saved in any permanent file? Or any means of securing the xterm opened? &lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Roboto&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Apr 2011 12:01:03 GMT</pubDate>
    <dc:creator>rfbmunb_br</dc:creator>
    <dc:date>2011-04-06T12:01:03Z</dc:date>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluster Studio 2011</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772519#M213</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;When I try to open the debugger of ICS 2011 using the command &lt;BR /&gt;&lt;BR /&gt;mpiexec -idb -genv MPIEXEC_DEBUG 1 -n 2 -host dragon ./vat_2d_69_debug&lt;BR /&gt;&lt;BR /&gt;I got the following warning message:&lt;BR /&gt;&lt;BR /&gt;mpiexec:1219: RuntimeWarning: Python C API version mismatch for module mtv: This Python has API version 1013, module mtv has version 1012.&lt;BR /&gt;&lt;BR /&gt;followed by the message&lt;BR /&gt;&lt;BR /&gt;import mtv&lt;BR /&gt;&lt;BR /&gt;and then the debugger hangs, not opening the gui or returning the command line prompt. The installed version of Python is 2.6.5-3.3.1-x86_64. Any help will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Roboto&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 18:13:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772519#M213</guid>
      <dc:creator>rfbmunb_br</dc:creator>
      <dc:date>2011-03-31T18:13:03Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772520#M214</link>
      <description>Hi Roboto,&lt;BR /&gt;&lt;BR /&gt;Looks like Python has got new API version. It means that either mtv.so need to be recompiled with new python.h or you can try to use old version of the python. At least python 2.4.3 has API version 1012 (didn't check other versions).&lt;BR /&gt;Could you also try to use '-gdb' instead of '-idb'. Since gdb uses another mechanism to start the debugger it may work, but I'm not sure.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2011 07:48:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772520#M214</guid>
      <dc:creator>Dmitry_K_Intel2</dc:creator>
      <dc:date>2011-04-01T07:48:34Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772521#M215</link>
      <description>Hi Dimitry,&lt;BR /&gt;&lt;BR /&gt;Using '-gdb' instead of '-idb' solves the problem. Thanks for your advice!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Roboto&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Apr 2011 11:07:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772521#M215</guid>
      <dc:creator>rfbmunb_br</dc:creator>
      <dc:date>2011-04-01T11:07:17Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772522#M216</link>
      <description>Hi Dmitry,&lt;BR /&gt;&lt;BR /&gt;As an alternative to use '-gdb' instead of '-idb', I installed python 2.4.3 using the 'make altinstall' command so both versions (2.6.5 and 2.4.3) are installed in the system. How do I tell the debugger to use API version 1012 that is available in python 2.4.3?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Roboto</description>
      <pubDate>Sat, 02 Apr 2011 00:05:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772522#M216</guid>
      <dc:creator>rfbmunb_br</dc:creator>
      <dc:date>2011-04-02T00:05:18Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772523#M217</link>
      <description>Hi Roboto,&lt;BR /&gt;&lt;BR /&gt;Well, you need to find where version 2.4.3 is located. It will be located it the directory specified by '--prefix. You may also check Makefile (created by ./configure).&lt;BR /&gt;&lt;BR /&gt;Add needed path to the PATH env variable and check.&lt;BR /&gt;&lt;BR /&gt;Don't forget to set IDB_HOME env variable. This &lt;A href="http://software.intel.com/sites/products/documentation/hpc/ict/ict_faq.pdf"&gt;document&lt;/A&gt; may help you tu start idb.&lt;BR /&gt;&lt;BR /&gt;Pay attention that there is no GUI for IDB running with mpiexec.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2011 06:48:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772523#M217</guid>
      <dc:creator>Dmitry_K_Intel2</dc:creator>
      <dc:date>2011-04-04T06:48:22Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772524#M218</link>
      <description>Hi Dmitry,&lt;BR /&gt;&lt;BR /&gt;The path to the python 2.4.3 was allready set in the .bash_profile by:&lt;BR /&gt;&lt;BR /&gt;export PATH=/usr/local/lib/python2.4/:$PATH&lt;BR /&gt;&lt;BR /&gt;and the IDB_HOME variable was already set to:&lt;BR /&gt;&lt;BR /&gt;export IDB_HOME=/opt/intel/composerxe-2011.0.084/bin/intel64&lt;BR /&gt;&lt;BR /&gt;when IDB hanged. When I installed python 2.4.3, using 'make &lt;B&gt;altinstall&lt;/B&gt;' instead of 'make &lt;B&gt;install&lt;/B&gt;', a hard link to &lt;B&gt;python2.4&lt;/B&gt; instead of &lt;B&gt;python &lt;/B&gt;was created. I did so in order to preserve the python used by the OS (2.6.5). Maybe the mpiexec wrapper is following the &lt;B&gt;python&lt;/B&gt; link, since it is the default for the OS, instead of the &lt;B&gt;python2.4&lt;/B&gt; link. I am aware that there is no GUI for IDB running with mpiexec, but I want to use the idb mode since I am far more familiar with it, and if I use mpiexec with the '-gdb' option and I want to shift to the idb mode using the command&lt;BR /&gt;&lt;BR /&gt;$cmdset = "idb"&lt;BR /&gt;&lt;BR /&gt;I got the following error:&lt;BR /&gt;&lt;BR /&gt;Undefined command: "$cmdset". Try "help".&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Roboto&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2011 15:15:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772524#M218</guid>
      <dc:creator>rfbmunb_br</dc:creator>
      <dc:date>2011-04-04T15:15:19Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772525#M219</link>
      <description>Hi Roboto,&lt;BR /&gt;&lt;BR /&gt;It might be worth to read &lt;A href="http://software.intel.com/en-us/articles/remote-terminal-mpi-debug/"&gt;this&lt;/A&gt; article.&lt;BR /&gt;It seems to me that mpiexec should use python from the $PATH.&lt;BR /&gt;&lt;BR /&gt;Running 'mpiexec -gdb' GDB is starting for debugging purposes. To use IDB instead you need to use 'mpiexec -idb'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Apr 2011 10:33:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772525#M219</guid>
      <dc:creator>Dmitry_K_Intel2</dc:creator>
      <dc:date>2011-04-05T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772526#M220</link>
      <description>Hi Dmitry,&lt;BR /&gt;&lt;BR /&gt;After reading the article above, I modified the file mpiexec.py in the following manner:&lt;BR /&gt;&lt;BR /&gt;1) every reference to the interpreter &lt;B&gt;python&lt;/B&gt; was substituted by &lt;B&gt;python2.4&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;2) every link to &lt;B&gt;/usr/bin/python&lt;/B&gt; was substituted by &lt;B&gt;/usr/local/bin/python2.4&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;By doing these modifications, I was able to get rid of the warning message that I get when I use the original version of mpiexec.py:&lt;BR /&gt;&lt;BR /&gt;'mpiexec:1219: RuntimeWarning: Python C API version mismatch for module 
mtv: This Python has API version 1013, module mtv has version 1012'&lt;BR /&gt;&lt;BR /&gt;since python2.4 (version 2.4.3) has the same API (version 1012) than module mtv. But IDB still hangs with an odd behavior. After calling IDB with the command:&lt;BR /&gt;&lt;BR /&gt;'mpiexec -idb -genv MPIEXEC_DEBUG 1 -n 2 -host dragon ./vat_2d_69_debug'&lt;BR /&gt;&lt;BR /&gt;an xterm is opened and closed immediately, giving no time to read the message inside. Do you know if the xterm message is saved in any permanent file? Or any means of securing the xterm opened? &lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Roboto&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 12:01:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772526#M220</guid>
      <dc:creator>rfbmunb_br</dc:creator>
      <dc:date>2011-04-06T12:01:03Z</dc:date>
    </item>
    <item>
      <title>Debugger hanging due to Python mismatch problem in Intel Cluste</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772527#M221</link>
      <description>Hi Roboto,&lt;BR /&gt;&lt;BR /&gt;It seems to me that idb worked for you according to this &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=76546&amp;amp;wapkw=%28IDB_PARALLEL_SHELL%29"&gt;thread&lt;/A&gt;.&lt;BR /&gt;Do you have problems with new idb version only? Does idb from your previous installation work fine?&lt;BR /&gt;&lt;BR /&gt;Might be you forgot to use some environment variable - e.g. set IDB_PARALL_SHELL=ssh?&lt;BR /&gt;&lt;BR /&gt;Also, please remove '-genv MPIEXEC_DEBUG 1' from the command line.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I don't know how to save xterm message or to secure it opened.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt; Dmitry&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 12:45:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772527#M221</guid>
      <dc:creator>Dmitry_K_Intel2</dc:creator>
      <dc:date>2011-04-06T12:45:27Z</dc:date>
    </item>
    <item>
      <title>Quote:Dmitry Kuzmin (Intel)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772528#M222</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Dmitry Kuzmin (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Roboto,&lt;/P&gt;
&lt;P&gt;Looks like Python has got new API version. It means that either mtv.so need to be recompiled with new python.h or you can try to use old version of the python. At least python 2.4.3 has API version 1012 (didn't check other versions).&lt;BR /&gt;Could you also try to use '-gdb' instead of '-idb'. Since gdb uses another mechanism to start the debugger it may work, but I'm not sure.&lt;/P&gt;
&lt;P&gt;Regards!&lt;BR /&gt;Dmitry&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'm having the same issue as Roboto in ICS 2012 &amp;nbsp;but I'd&amp;nbsp;like to continue using the Python version I've installed (2.6.x). How can I recompile mtv.so with the newly installed Python?&lt;/P&gt;
&lt;P&gt;- Ricardo&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2013 19:02:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772528#M222</guid>
      <dc:creator>Ricardo_M_2</dc:creator>
      <dc:date>2013-06-17T19:02:41Z</dc:date>
    </item>
    <item>
      <title>Hi Ricardo,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772529#M223</link>
      <description>&lt;P&gt;Hi Ricardo,&lt;/P&gt;
&lt;P&gt;At this point, we do not&amp;nbsp;support using idb for MPI.&amp;nbsp; Please use -gdb instead to debug with GDB.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt; James Tullos&lt;BR /&gt; Technical Consulting Engineer&lt;BR /&gt; Intel® Cluster Tools&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2013 14:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugger-hanging-due-to-Python-mismatch-problem-in-Intel-Cluster/m-p/772529#M223</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2013-06-20T14:25:00Z</dc:date>
    </item>
  </channel>
</rss>

