<?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 Re: idb parallel debugging &amp;quot;no main&amp;quot; problem in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901318#M2204</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/305577"&gt;sdettrick&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to debug a parallel program in idb, but the debugger cannot find the main program and I cannot set breakpoints.&lt;BR /&gt;&lt;BR /&gt;I have compiled with mpiifort -g -debug all -check all, and am using these versions:&lt;BR /&gt;&lt;BR /&gt;/opt/intel/mpi/3.0/bin64/mpiifort&lt;BR /&gt;/opt/intel/fce/10.0.023/bin/ifort&lt;BR /&gt;/opt/intel/idbe/10.0.023/bin/idb&lt;BR /&gt;/opt/intel/mpi-rt/3.0/bin64/mpirun&lt;BR /&gt;&lt;BR /&gt;I try to invoke idb like this:&lt;BR /&gt;&lt;BR /&gt;mpirun -idb -np 2 ../../test_MCdriver &lt;BR /&gt;or:&lt;BR /&gt;mpd&lt;BR /&gt;mpiexec -idb -n 2 ../../test_MCdriver&lt;BR /&gt;&lt;BR /&gt;This opens idb in a separate window as expected. It finds two processes (focus=[0:1]) but I can't set a breakpoint in the main program or in my module procedure. If I let the program continue in idb by typing "c" then the program successfully initializes MPI and runs for a bit before crashing on the error that I'm trying to fix. So in some sense the program is loaded, it is just that I can't access the symbols in idb. The output of the session follows. Any help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sean&lt;BR /&gt;&lt;BR /&gt;Intel Debugger for applications running on Intel 64, Version 10.0-29 , Bui&lt;BR /&gt;ld 20070405&lt;BR /&gt;Attaching to program: /usr/bin/python2.4, process 21469&lt;BR /&gt;Reading symbols from /usr/bin/python2.4...(no debugging symbols found)...done.&lt;BR /&gt;[New Thread 47221900373968 (LWP 21469)]&lt;BR /&gt;__select_nocancel () in /lib64/libc-2.4.so&lt;BR /&gt;&lt;BR /&gt;Info: Optimized variables show as &lt;NO value=""&gt; when no location is allocated.&lt;BR /&gt;Continuing.&lt;BR /&gt;MPIR_Breakpoint () at mtv.c:101&lt;BR /&gt;No source file named mtv.c.&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] Intel Debugger for applications running on Intel 64, Version 10.0&lt;BR /&gt;-29 , Build 20070405&lt;BR /&gt;%1 [0:1] Attaching to program: /home/sdettrick/codes/converter/test_MCdriver, pr&lt;BR /&gt;ocess [21478;21479]&lt;BR /&gt;[0:1] Reading symbols from /home/sdettrick/codes/converter/test_MCdriver...do&lt;BR /&gt;ne.&lt;BR /&gt;%2 [0:1] [New Thread [47585757269312;47878512934208] (LWP [21478;21479])]&lt;BR /&gt;[0:1] __read_nocancel () in /lib64/libpthread-2.4.so&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] error: cannot return to function main&lt;BR /&gt;[0:1] No file.&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) &lt;BR /&gt;(idb) break main&lt;BR /&gt;No symbol "main" in current context.&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) break mc_init&lt;BR /&gt;No symbol "mc_init" in current context.&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] No symbol "mc_init" in current context.&lt;BR /&gt;[0:1] No symbol "mc_init" in current context.&lt;BR /&gt;[0:1] mc_init has no valid breakpoint address&lt;BR /&gt;[0:1] Breakpoint 2 (mc_init) pending&lt;BR /&gt;&lt;BR /&gt;(idb) break mpi_stuff%%mc_init&lt;BR /&gt;No symbol "mpi_stuff" in current context.&lt;BR /&gt;break mpi_stuff%%mc_init&lt;BR /&gt;^&lt;BR /&gt;Unable to parse input as legal command or C expression.&lt;BR /&gt;(idb) set $cmdset="idb"&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) stop in mpi_stuff%%mc_init&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] Symbol "mpi_stuff" is not defined.&lt;BR /&gt;[0:1] Symbol "mc_init" is not defined.&lt;BR /&gt;[0:1] mpi_stuff % %mc_init has no valid breakpoint address&lt;BR /&gt;[0:1] Warning: Breakpoint not set&lt;BR /&gt;&lt;BR /&gt;(idb) stop in MPI_BCAST&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] [#3: stop in &lt;OPAQUE&gt; MPI_BCAST(...)]&lt;BR /&gt;&lt;BR /&gt;(idb) c&lt;BR /&gt;(idb) &lt;BR /&gt;[1] Process has exited with status 153&lt;BR /&gt;[0] Thread received signal ABRT&lt;BR /&gt;[0] stopped at [&lt;OPAQUE&gt; raise(...) 0x00002b476bba8aa5]&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OPAQUE&gt;&lt;/OPAQUE&gt;&lt;/NO&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello Sean.&lt;BR /&gt;&lt;BR /&gt;Few suggestions as below -&lt;BR /&gt;(a) Try IDB for simple serial code,check ifit works?&lt;BR /&gt;&lt;BR /&gt;(b) Try the same way for parallel program, but before you start debugging parallel program, check following things -&lt;BR /&gt; - Which MPI are you using?&lt;BR /&gt; - Is that MPI being compiled with -g options?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;~BR</description>
    <pubDate>Sat, 28 Feb 2009 14:41:11 GMT</pubDate>
    <dc:creator>srimks</dc:creator>
    <dc:date>2009-02-28T14:41:11Z</dc:date>
    <item>
      <title>idb parallel debugging "no main" problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901317#M2203</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to debug a parallel program in idb, but the debugger cannot find the main program and I cannot set breakpoints.&lt;BR /&gt;&lt;BR /&gt;I have compiled with mpiifort -g -debug all -check all, and am using these versions:&lt;BR /&gt;&lt;BR /&gt;/opt/intel/mpi/3.0/bin64/mpiifort&lt;BR /&gt;/opt/intel/fce/10.0.023/bin/ifort&lt;BR /&gt;/opt/intel/idbe/10.0.023/bin/idb&lt;BR /&gt;/opt/intel/mpi-rt/3.0/bin64/mpirun&lt;BR /&gt;&lt;BR /&gt;I try to invoke idb like this:&lt;BR /&gt;&lt;BR /&gt;mpirun -idb -np 2 ../../test_MCdriver &lt;BR /&gt;or:&lt;BR /&gt;mpd&lt;BR /&gt;mpiexec -idb -n 2 ../../test_MCdriver&lt;BR /&gt;&lt;BR /&gt;This opens idb in a separate window as expected. It finds two processes (focus=[0:1]) but I can't set a breakpoint in the main program or in my module procedure. If I let the program continue in idb by typing "c" then the program successfully initializes MPI and runs for a bit before crashing on the error that I'm trying to fix. So in some sense the program is loaded, it is just that I can't access the symbols in idb. The output of the session follows. Any help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sean&lt;BR /&gt;&lt;BR /&gt;Intel Debugger for applications running on Intel 64, Version 10.0-29 , Bui&lt;BR /&gt;ld 20070405&lt;BR /&gt;Attaching to program: /usr/bin/python2.4, process 21469&lt;BR /&gt;Reading symbols from /usr/bin/python2.4...(no debugging symbols found)...done.&lt;BR /&gt;[New Thread 47221900373968 (LWP 21469)]&lt;BR /&gt;__select_nocancel () in /lib64/libc-2.4.so&lt;BR /&gt;&lt;BR /&gt;Info: Optimized variables show as &lt;NO value=""&gt; when no location is allocated.&lt;BR /&gt;Continuing.&lt;BR /&gt;MPIR_Breakpoint () at mtv.c:101&lt;BR /&gt;No source file named mtv.c.&lt;BR /&gt;(idb) &lt;BR /&gt; [0:1] Intel Debugger for applications running on Intel 64, Version 10.0&lt;BR /&gt;-29 , Build 20070405&lt;BR /&gt;%1 [0:1] Attaching to program: /home/sdettrick/codes/converter/test_MCdriver, pr&lt;BR /&gt;ocess [21478;21479]&lt;BR /&gt; [0:1] Reading symbols from /home/sdettrick/codes/converter/test_MCdriver...do&lt;BR /&gt;ne.&lt;BR /&gt;%2 [0:1] [New Thread [47585757269312;47878512934208] (LWP [21478;21479])]&lt;BR /&gt; [0:1] __read_nocancel () in /lib64/libpthread-2.4.so&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt; [0:1] error: cannot return to function main&lt;BR /&gt; [0:1] No file.&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) &lt;BR /&gt;(idb) break main&lt;BR /&gt;No symbol "main" in current context.&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) break mc_init&lt;BR /&gt;No symbol "mc_init" in current context.&lt;BR /&gt;(idb) &lt;BR /&gt; [0:1] No symbol "mc_init" in current context.&lt;BR /&gt; [0:1] No symbol "mc_init" in current context.&lt;BR /&gt; [0:1] mc_init has no valid breakpoint address&lt;BR /&gt; [0:1] Breakpoint 2 (mc_init) pending&lt;BR /&gt;&lt;BR /&gt;(idb) break mpi_stuff%%mc_init&lt;BR /&gt;No symbol "mpi_stuff" in current context.&lt;BR /&gt;break mpi_stuff%%mc_init&lt;BR /&gt; ^&lt;BR /&gt;Unable to parse input as legal command or C expression.&lt;BR /&gt;(idb) set $cmdset="idb"&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) stop in mpi_stuff%%mc_init&lt;BR /&gt;(idb) &lt;BR /&gt; [0:1] Symbol "mpi_stuff" is not defined.&lt;BR /&gt; [0:1] Symbol "mc_init" is not defined.&lt;BR /&gt; [0:1] mpi_stuff % %mc_init has no valid breakpoint address&lt;BR /&gt; [0:1] Warning: Breakpoint not set&lt;BR /&gt;&lt;BR /&gt;(idb) stop in MPI_BCAST&lt;BR /&gt;(idb) &lt;BR /&gt; [0:1] [#3: stop in &lt;OPAQUE&gt; MPI_BCAST(...)]&lt;BR /&gt;&lt;BR /&gt;(idb) c&lt;BR /&gt;(idb) &lt;BR /&gt; [1] Process has exited with status 153&lt;BR /&gt; [0] Thread received signal ABRT&lt;BR /&gt; [0] stopped at [&lt;OPAQUE&gt; raise(...) 0x00002b476bba8aa5]&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OPAQUE&gt;&lt;/OPAQUE&gt;&lt;/NO&gt;</description>
      <pubDate>Wed, 18 Feb 2009 18:12:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901317#M2203</guid>
      <dc:creator>sdettrick</dc:creator>
      <dc:date>2009-02-18T18:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: idb parallel debugging "no main" problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901318#M2204</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/305577"&gt;sdettrick&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to debug a parallel program in idb, but the debugger cannot find the main program and I cannot set breakpoints.&lt;BR /&gt;&lt;BR /&gt;I have compiled with mpiifort -g -debug all -check all, and am using these versions:&lt;BR /&gt;&lt;BR /&gt;/opt/intel/mpi/3.0/bin64/mpiifort&lt;BR /&gt;/opt/intel/fce/10.0.023/bin/ifort&lt;BR /&gt;/opt/intel/idbe/10.0.023/bin/idb&lt;BR /&gt;/opt/intel/mpi-rt/3.0/bin64/mpirun&lt;BR /&gt;&lt;BR /&gt;I try to invoke idb like this:&lt;BR /&gt;&lt;BR /&gt;mpirun -idb -np 2 ../../test_MCdriver &lt;BR /&gt;or:&lt;BR /&gt;mpd&lt;BR /&gt;mpiexec -idb -n 2 ../../test_MCdriver&lt;BR /&gt;&lt;BR /&gt;This opens idb in a separate window as expected. It finds two processes (focus=[0:1]) but I can't set a breakpoint in the main program or in my module procedure. If I let the program continue in idb by typing "c" then the program successfully initializes MPI and runs for a bit before crashing on the error that I'm trying to fix. So in some sense the program is loaded, it is just that I can't access the symbols in idb. The output of the session follows. Any help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sean&lt;BR /&gt;&lt;BR /&gt;Intel Debugger for applications running on Intel 64, Version 10.0-29 , Bui&lt;BR /&gt;ld 20070405&lt;BR /&gt;Attaching to program: /usr/bin/python2.4, process 21469&lt;BR /&gt;Reading symbols from /usr/bin/python2.4...(no debugging symbols found)...done.&lt;BR /&gt;[New Thread 47221900373968 (LWP 21469)]&lt;BR /&gt;__select_nocancel () in /lib64/libc-2.4.so&lt;BR /&gt;&lt;BR /&gt;Info: Optimized variables show as &lt;NO value=""&gt; when no location is allocated.&lt;BR /&gt;Continuing.&lt;BR /&gt;MPIR_Breakpoint () at mtv.c:101&lt;BR /&gt;No source file named mtv.c.&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] Intel Debugger for applications running on Intel 64, Version 10.0&lt;BR /&gt;-29 , Build 20070405&lt;BR /&gt;%1 [0:1] Attaching to program: /home/sdettrick/codes/converter/test_MCdriver, pr&lt;BR /&gt;ocess [21478;21479]&lt;BR /&gt;[0:1] Reading symbols from /home/sdettrick/codes/converter/test_MCdriver...do&lt;BR /&gt;ne.&lt;BR /&gt;%2 [0:1] [New Thread [47585757269312;47878512934208] (LWP [21478;21479])]&lt;BR /&gt;[0:1] __read_nocancel () in /lib64/libpthread-2.4.so&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] error: cannot return to function main&lt;BR /&gt;[0:1] No file.&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) &lt;BR /&gt;(idb) break main&lt;BR /&gt;No symbol "main" in current context.&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) break mc_init&lt;BR /&gt;No symbol "mc_init" in current context.&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] No symbol "mc_init" in current context.&lt;BR /&gt;[0:1] No symbol "mc_init" in current context.&lt;BR /&gt;[0:1] mc_init has no valid breakpoint address&lt;BR /&gt;[0:1] Breakpoint 2 (mc_init) pending&lt;BR /&gt;&lt;BR /&gt;(idb) break mpi_stuff%%mc_init&lt;BR /&gt;No symbol "mpi_stuff" in current context.&lt;BR /&gt;break mpi_stuff%%mc_init&lt;BR /&gt;^&lt;BR /&gt;Unable to parse input as legal command or C expression.&lt;BR /&gt;(idb) set $cmdset="idb"&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) stop in mpi_stuff%%mc_init&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] Symbol "mpi_stuff" is not defined.&lt;BR /&gt;[0:1] Symbol "mc_init" is not defined.&lt;BR /&gt;[0:1] mpi_stuff % %mc_init has no valid breakpoint address&lt;BR /&gt;[0:1] Warning: Breakpoint not set&lt;BR /&gt;&lt;BR /&gt;(idb) stop in MPI_BCAST&lt;BR /&gt;(idb) &lt;BR /&gt;[0:1] [#3: stop in &lt;OPAQUE&gt; MPI_BCAST(...)]&lt;BR /&gt;&lt;BR /&gt;(idb) c&lt;BR /&gt;(idb) &lt;BR /&gt;[1] Process has exited with status 153&lt;BR /&gt;[0] Thread received signal ABRT&lt;BR /&gt;[0] stopped at [&lt;OPAQUE&gt; raise(...) 0x00002b476bba8aa5]&lt;BR /&gt;&lt;BR /&gt;(idb) &lt;BR /&gt;(idb) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OPAQUE&gt;&lt;/OPAQUE&gt;&lt;/NO&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello Sean.&lt;BR /&gt;&lt;BR /&gt;Few suggestions as below -&lt;BR /&gt;(a) Try IDB for simple serial code,check ifit works?&lt;BR /&gt;&lt;BR /&gt;(b) Try the same way for parallel program, but before you start debugging parallel program, check following things -&lt;BR /&gt; - Which MPI are you using?&lt;BR /&gt; - Is that MPI being compiled with -g options?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;~BR</description>
      <pubDate>Sat, 28 Feb 2009 14:41:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901318#M2204</guid>
      <dc:creator>srimks</dc:creator>
      <dc:date>2009-02-28T14:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: idb parallel debugging "no main" problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901319#M2205</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/305577"&gt;sdettrick&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;Attaching to program: /usr/bin/python2.4, process 21469&lt;BR /&gt;Reading symbols from /usr/bin/python2.4...(no debugging symbols found)...done.&lt;BR /&gt;[New Thread 47221900373968 (LWP 21469)]&lt;BR /&gt;__select_nocancel () in /lib64/libc-2.4.so&lt;BR /&gt;&lt;BR /&gt;Info: Optimized variables show as &lt;NO value=""&gt; when no location is allocated.&lt;BR /&gt;Continuing.&lt;BR /&gt;MPIR_Breakpoint () at mtv.c:101&lt;BR /&gt;No source file named mtv.c.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/NO&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
When you attach idb to python , it's hardly surprisiing that your C main() isn't present. Are you trying to debug python or your own C code?&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Mar 2009 04:47:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901319#M2205</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-03-01T04:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: idb parallel debugging "no main" problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901320#M2206</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
When you attach idb to python , it's hardly surprisiing that your C main() isn't present. Are you trying to debug python or your own C code?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;I am trying to debug MPI FORTRAN code.&lt;BR /&gt;&lt;BR /&gt;The python in question is the INTEL MPI mpiexec command. I don't know how to avoid using it, when submitting with multiple processes.&lt;BR /&gt;&lt;BR /&gt;Is it possible to break out of this python script, or continue through it or something, to arrive in my FORTRAN code?&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 18:52:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901320#M2206</guid>
      <dc:creator>sdettrick</dc:creator>
      <dc:date>2009-03-05T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: idb parallel debugging "no main" problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901321#M2207</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/407152"&gt;srimks&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Hello Sean.&lt;BR /&gt;&lt;BR /&gt;Few suggestions as below -&lt;BR /&gt;(a) Try IDB for simple serial code,check ifit works?&lt;BR /&gt;&lt;BR /&gt;(b) Try the same way for parallel program, but before you start debugging parallel program, check following things -&lt;BR /&gt; - Which MPI are you using?&lt;BR /&gt; - Is that MPI being compiled with -g options?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;~BR&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;(a) yes it works&lt;BR /&gt;(b) intel MPI. My code is compiled with -g, I don't know about the library, which came as is.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 18:54:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901321#M2207</guid>
      <dc:creator>sdettrick</dc:creator>
      <dc:date>2009-03-05T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: idb parallel debugging "no main" problem</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901322#M2208</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
If you are using an MPI such as Intel which has an option in mpiexec or mpirun specifically meant to start up parallel debugging on your code, try it. Otherwise, set up the debugger environment (not trivial for idb, as it has some gotchas), and do something like&lt;BR /&gt;mpiexec -n 2 idb yourapp&lt;BR /&gt;which would likely attempt to open an idb gui window for each process.&lt;BR /&gt;When you ask an ordinary debugger to start up and debug the mpi, all you get is an attempt to do what you said, maybe not what you meant.&lt;BR /&gt;We have been waiting for months for promised training on idb, so I don't feel like an expert.&lt;BR /&gt;TotalView is the first-class route for MPI debugging; there are noises about a serious effort to set up the Allinea product specifically for Intel MPI.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 22:52:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/idb-parallel-debugging-quot-no-main-quot-problem/m-p/901322#M2208</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-03-05T22:52:11Z</dc:date>
    </item>
  </channel>
</rss>

