<?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: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command) in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287217#M8367</link>
    <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks very much for your comments. I clearly did not do what you said in the last test. And now I think I did what you said and it seems that it is still not working:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;➜  dyno_input export OMP_NUM_THREADS=2
➜  dyno_input mpirun -n 6 -gtool "gdb:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno dyno_ga.inp ../dyno_output/test 1
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) ^Cmpigdb: ending..
mpigdb: kill Cannot
mpigdb: kill Cannot
[mpiexec@Taishan] Sending Ctrl-C to processes as requested
[mpiexec@Taishan] Press Ctrl-C again to force abort
^C
➜  dyno_input mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno dyno_ga.inp ../dyno_output/test 1
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) ^Cmpigdb: ending..
mpigdb: kill Cannot
mpigdb: kill Cannot
[mpiexec@Taishan] Sending Ctrl-C to processes as requested
[mpiexec@Taishan] Press Ctrl-C again to force abort
^C
➜  dyno_input mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno                                  
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) &lt;/LI-CODE&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 13:01:08 GMT</pubDate>
    <dc:creator>xsl</dc:creator>
    <dc:date>2021-06-04T13:01:08Z</dc:date>
    <item>
      <title>Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1284089#M8311</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to debug my MPI code with mpirun -gdb or mpirun -gtool. Either way, after typing in the command, nothing comes up and the terminal just freezes unless terminated using Ctrl+c.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, I use the following command trying to debug my code with -gtool option&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;mpirun -n 3 -gtool "gdb:0,1=attach" ./MY_EXECUTABLE&lt;/LI-CODE&gt;
&lt;P&gt;Then, nothing happens at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to debug this code on my desktop with 6 CPUs (12 with HT on), and I have already run&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;export OMP_NUM_THREADS=4&lt;/LI-CODE&gt;
&lt;P&gt;BTW, when running&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;which mpirun&lt;/LI-CODE&gt;
&lt;P&gt;here is what I got&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;/opt/intel/oneapi/mpi/2021.1.1//bin/mpirun&lt;/LI-CODE&gt;
&lt;P&gt;Why there are two slashes (//) before bin? I just put the following line in my .zhsrc file (I am using zsh):&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;source /opt/intel/oneapi/setvars.sh&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone tell me what is the problem? Thanks very much.&lt;/P&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 13:21:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1284089#M8311</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-05-24T13:21:27Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1284450#M8319</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are able to reproduce the issue at our end. We are working on it and will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2021 10:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1284450#M8319</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-05-25T10:56:00Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1285046#M8326</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please check if the following command returns anything?&lt;/P&gt;&lt;P&gt;$ which gdb&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My guess is that GDB is not installed on your system or is not available through path/s in your PATH environment variable. If you know where gdb exists please use the full path to gdb in your command line.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The following expected behavior comes up with Intel MPI Library + GDB,&lt;/P&gt;&lt;P&gt;$ mpirun -n 3 -bootstrap ssh -gtool "gdb:0,1=attach" IMB-MPI1 &lt;/P&gt;&lt;P&gt;mpigdb: attaching to 2244710 IMB-MPI1 epb801&lt;/P&gt;&lt;P&gt;mpigdb: attaching to 2244711 IMB-MPI1 epb801&lt;/P&gt;&lt;P&gt;mpigdb: gdb won't attach to a process with not specified rank&lt;/P&gt;&lt;P&gt;[0,1] (mpigdb) bt&lt;/P&gt;&lt;P&gt;[0]&amp;nbsp;&amp;nbsp;&amp;nbsp;#0&amp;nbsp;0x000014c2c9101805 in read () from /lib64/libc.so.6&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&amp;nbsp;&amp;nbsp;#0&amp;nbsp;0x000014e98d2fb805 in read () from /lib64/libc.so.6&lt;/P&gt;&lt;P&gt;[0]&amp;nbsp;&amp;nbsp;&amp;nbsp;#1&amp;nbsp;0x000014c2ca3e509f in read (__fd=&amp;lt;optimized out&amp;gt;, __buf=&amp;lt;optimized out&amp;gt;,&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&amp;nbsp;&amp;nbsp;#1&amp;nbsp;0x000014e98e5df09f in read (__fd=&amp;lt;optimized out&amp;gt;, __buf=&amp;lt;optimized out&amp;gt;,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar   &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2021 08:44:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1285046#M8326</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-05-27T08:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1285098#M8327</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you are right. It turns out that I did not have gdb installed. Previously I only used the one comes with Intel (something like gdb-ib) for debugging my sequential codes. Now I have the new oneAPI thing installed and I have not used it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I now get&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb)&lt;/LI-CODE&gt;
&lt;P&gt;with mpirun -n 3 -gtool "gdb:0,1=attach" ./executable&lt;/P&gt;
&lt;P&gt;But why the deubgger is not executing? I could not move forward with any commands such as 'run' or 'break'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 12:32:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1285098#M8327</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-05-27T12:32:24Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1285168#M8329</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Perhaps your application is causing this. Please try running gdb on another MPI application and report your findings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2021 17:36:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1285168#M8329</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-05-27T17:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1286205#M8344</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried with another MPI program and I got the same error: "Cannot access memory and won't attach to a process with not specified rank".&lt;/P&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 16:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1286205#M8344</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-01T16:37:50Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1286387#M8347</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[1] Can you please retest with the IMB-MPI1 binary located in your Intel MPI Library installation, i.e. $I_MPI_ROOT/bin &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[2] In addition, can you please share the output from the following commands,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;$ which gdb&lt;/P&gt;&lt;P&gt;$ gdb --version&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jun 2021 06:05:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1286387#M8347</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-02T06:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1286884#M8357</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply. I tried $I_MPI_ROOT/bin/mpirun and I think things are the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'which gdb' gives me '/usr/bin/gdb' and 'gdb --version' returns&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;GNU gdb (Uos 8.2.1.1-1+security) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:11:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1286884#M8357</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-03T14:11:05Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287088#M8362</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for confirming. I hope you meant to say, $I_MPI_ROOT/bin/IMB-MPI1 and not $I_MPI_ROOT/bin/mpirun in your last note? Please confirm. If not, please rerun. Just to clarify, in my last comment, I wanted you to run the following command,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif;"&gt;$ mpirun -n 3 -gtool "gdb:0,1=attach" &lt;/SPAN&gt;&lt;B style="font-size: 16px; font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif;"&gt;$I_MPI_ROOT/bin/IMB-MPI1&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Assuming that this is what you ran, the application doesn't seem to be causing this issue. Let's therefore test with the Intel Distribution of GDB as well (gdb-oneapi instead of gdb). Can you please run the following command and share your findings,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;$ mpirun -n 3 -gtool "&lt;/SPAN&gt;&lt;B style="font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;gdb-oneapi&lt;/B&gt;&lt;SPAN style="font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;Amar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2021 05:26:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287088#M8362</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-04T05:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287217#M8367</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks very much for your comments. I clearly did not do what you said in the last test. And now I think I did what you said and it seems that it is still not working:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;➜  dyno_input export OMP_NUM_THREADS=2
➜  dyno_input mpirun -n 6 -gtool "gdb:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno dyno_ga.inp ../dyno_output/test 1
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) ^Cmpigdb: ending..
mpigdb: kill Cannot
mpigdb: kill Cannot
[mpiexec@Taishan] Sending Ctrl-C to processes as requested
[mpiexec@Taishan] Press Ctrl-C again to force abort
^C
➜  dyno_input mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno dyno_ga.inp ../dyno_output/test 1
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) ^Cmpigdb: ending..
mpigdb: kill Cannot
mpigdb: kill Cannot
[mpiexec@Taishan] Sending Ctrl-C to processes as requested
[mpiexec@Taishan] Press Ctrl-C again to force abort
^C
➜  dyno_input mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno                                  
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) &lt;/LI-CODE&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 13:01:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287217#M8367</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-04T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287450#M8376</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your note.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You still seem to be running the following command line, which is not what I meant,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;mpirun -n 6 -gtool "gdb:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 ./dyno dyno_ga.inp ../dyno_output/test 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please don't try to run ./dyno for this test. Kindly test gdb with IMB-MPI1 alone, using the following command line, which is complete,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;$ mpirun -n 6 -gtool "gdb:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please do not add additional parameters to the above command and run it as it is. Kindly report your findings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Jun 2021 12:04:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287450#M8376</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-05T12:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287454#M8377</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sorry that I missed your point. I think now I am doing what you said:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;➜  dyno_input mpirun -n 6 -gtool "gdb:0,1=attach" $I_MPI_ROOT/bin/IMB_MPI1
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) &lt;/LI-CODE&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jun 2021 13:07:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287454#M8377</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-05T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287484#M8379</link>
      <description>&lt;P&gt;Thanks, xsl. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[1] Can you please check with the following command as well?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB_MPI1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;[2] Also, can you please share the output from the following command,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px;"&gt;mpirun -n 6 $I_MPI_ROOT/bin/IMB_MPI1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;[3] Please also help me with what &lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;➜  dyno_input means. Is it just your prompt or are you running these commands in a custom environment?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;[4] Can you please also share the output of the following command,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: arial, sans-serif;"&gt;ps -p $$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Jun 2021 03:28:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287484#M8379</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-06T03:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287567#M8383</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks very much for your comments. That dyno_input is just something printed by my zsh. Here is what I got for running all the commands as you gave:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;➜  ~ mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB_MPI1
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) ^Cmpigdb: ending..
mpigdb: kill Cannot
mpigdb: kill Cannot
[mpiexec@Taishan] Sending Ctrl-C to processes as requested
[mpiexec@Taishan] Press Ctrl-C again to force abort
^C
➜  ~ mpirun -n 6 $I_MPI_ROOT/bin/IMB_MPI1
[proxy:0:0@Taishan] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:145): execvp error on file /opt/intel/oneapi/mpi/2021.1.1/bin/IMB_MPI1 (No such file or directory)
[proxy:0:0@Taishan] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:145): execvp error on file /opt/intel/oneapi/mpi/2021.1.1/bin/IMB_MPI1 (No such file or directory)
[proxy:0:0@Taishan] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:145): execvp error on file /opt/intel/oneapi/mpi/2021.1.1/bin/IMB_MPI1 (No such file or directory)
[proxy:0:0@Taishan] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/intel/hydra_spawn.c:145): execvp error on file /opt/intel/oneapi/mpi/2021.1.1/bin/IMB_MPI1 (No such file or directory)
➜  ~ ps -p $$
  PID TTY          TIME CMD
12667 pts/4    00:00:00 zsh&lt;/LI-CODE&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 00:14:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287567#M8383</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-07T00:14:38Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287609#M8387</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reporting your findings. There was a typo in my last email. The correct binary name is IMB-MPI1 and not IMB_MPI1.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please rerun the following commands, and report your findings&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;mpirun -n 6 $I_MPI_ROOT/bin/IMB-MPI1 allreduce&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 14px;"&gt;mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 allreduce&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If the above fail, could you please run gdb on a non-MPI application and report if gdb attaches as expected?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2021 06:16:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287609#M8387</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-07T06:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287705#M8394</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks very much for your comments. Here is the output of what you listed. How can I attach a non-MPI program with gdb? I just run gdb with that program as the argument and the result is also attached (that program is non-MPI although it has the same name).&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;➜  dyno_input mpirun -n 6 $I_MPI_ROOT/bin/IMB-MPI1 allreduce
#------------------------------------------------------------
#    Intel(R) MPI Benchmarks 2021.1, MPI-1 part    
#------------------------------------------------------------
# Date                  : Mon Jun  7 10:04:33 2021
# Machine               : x86_64
# System                : Linux
# Release               : 5.4.70-amd64-desktop
# Version               : #2 SMP Wed Jan 6 13:39:30 CST 2021
# MPI Version           : 3.1
# MPI Thread Environment: 


# Calling sequence was: 

# /opt/intel/oneapi/mpi/2021.1.1/bin/IMB-MPI1 allreduce 

# Minimum message length in bytes:   0
# Maximum message length in bytes:   4194304
#
# MPI_Datatype                   :   MPI_BYTE 
# MPI_Datatype for reductions    :   MPI_FLOAT 
# MPI_Op                         :   MPI_SUM  
# 
# 

# List of Benchmarks to run:

# Allreduce

#----------------------------------------------------------------
# Benchmarking Allreduce 
# #processes = 2 
# ( 4 additional processes waiting in MPI_Barrier)
#----------------------------------------------------------------
       #bytes #repetitions  t_min[usec]  t_max[usec]  t_avg[usec]
            0         1000         0.03         0.03         0.03
            4         1000         0.87         0.87         0.87
            8         1000         0.87         0.87         0.87
           16         1000         0.91         0.92         0.91
           32         1000         0.86         0.88         0.87
           64         1000         0.87         0.89         0.88
          128         1000         0.87         0.92         0.89
          256         1000         0.90         0.96         0.93
          512         1000         1.02         1.07         1.04
         1024         1000         1.10         1.13         1.12
         2048         1000         1.25         1.31         1.28
         4096         1000         1.54         1.59         1.56
         8192         1000         2.14         2.22         2.18
        16384         1000         2.96         3.07         3.02
        32768         1000         4.80         4.95         4.87
        65536          640         8.43         8.56         8.49
       131072          320        15.22        15.37        15.30
       262144          160        29.79        29.98        29.88
       524288           80        56.65        56.79        56.72
      1048576           40       108.10       108.71       108.40
      2097152           20       259.35       266.87       263.11
      4194304           10       788.20       789.28       788.74

#----------------------------------------------------------------
# Benchmarking Allreduce 
# #processes = 4 
# ( 2 additional processes waiting in MPI_Barrier)
#----------------------------------------------------------------
       #bytes #repetitions  t_min[usec]  t_max[usec]  t_avg[usec]
            0         1000         0.03         0.03         0.03
            4         1000         1.63         1.66         1.65
            8         1000         0.31         0.36         0.32
           16         1000         1.65         1.69         1.67
           32         1000         1.65         1.70         1.68
           64         1000         1.65         1.72         1.69
          128         1000         1.68         1.71         1.70
          256         1000         1.71         1.75         1.73
          512         1000         1.94         1.98         1.97
         1024         1000         2.10         2.14         2.12
         2048         1000         2.35         2.49         2.43
         4096         1000         2.87         3.03         2.94
         8192         1000         4.91         4.99         4.94
        16384         1000         6.41         6.55         6.45
        32768         1000         9.06         9.23         9.14
        65536          640        13.71        13.90        13.80
       131072          320        23.93        24.52        24.31
       262144          160        46.32        47.76        47.35
       524288           80        87.72        90.52        89.58
      1048576           40       195.61       209.72       203.44
      2097152           20      1109.84      1112.89      1111.39
      4194304           10      2330.50      2404.74      2369.87

#----------------------------------------------------------------
# Benchmarking Allreduce 
# #processes = 6 
#----------------------------------------------------------------
       #bytes #repetitions  t_min[usec]  t_max[usec]  t_avg[usec]
            0         1000         0.03         0.03         0.03
            4         1000         2.24         2.99         2.54
            8         1000         2.25         2.99         2.56
           16         1000         2.26         2.98         2.54
           32         1000         2.26         3.00         2.56
           64         1000         2.23         3.00         2.55
          128         1000         2.19         3.02         2.53
          256         1000         2.22         3.03         2.56
          512         1000         2.53         3.19         2.86
         1024         1000         3.16         4.81         4.03
         2048         1000         3.54         5.40         4.54
         4096         1000         3.73         5.09         4.38
         8192         1000         6.38         8.07         7.10
        16384         1000         8.61        11.02         9.70
        32768         1000        12.60        16.16        14.33
        65536          640        22.94        29.22        26.36
       131072          320        42.30        54.26        49.43
       262144          160        83.97       107.11        98.26
       524288           80       168.37       213.34       196.98
      1048576           40       585.68       727.82       677.37
      2097152           20      2397.94      2746.91      2620.74
      4194304           10      5380.48      6099.55      5866.43


# All processes entering MPI_Finalize

➜  dyno_input mpirun -n 6 -gtool "gdb-oneapi:0,1=attach" $I_MPI_ROOT/bin/IMB-MPI1 allreduce
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [0]
mpigdb: attaching to Cannot access memory
mpigdb: hangup detected: while read from [1]
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
mpigdb: gdb won't attach to a process with not specified rank
[0,1] (mpigdb) ^Cmpigdb: ending..
mpigdb: kill Cannot
mpigdb: kill Cannot
[mpiexec@Taishan] Sending Ctrl-C to processes as requested
[mpiexec@Taishan] Press Ctrl-C again to force abort
^C
➜  dyno_input cp /home/xsl/work/svn/peter/trunk/exe/debug/dyno ./      
cp: overwrite './dyno'? y
'/home/xsl/work/svn/peter/trunk/exe/debug/dyno' -&amp;gt; './dyno'
➜  dyno_input ls
background_physical_property.txt  data.inp  dyno_ga.inp  fox_par.txt          inversion_sig.node  mesh_input   optim_ga.inp  rect_reg.txt      surf.inp
bgMesh.inp                        dyno      emdata.inp   inversion_data.node  invMeshDivReg.txt   obj_log.txt  prop.inp      surface_mesh.inp
➜  dyno_input gdb dyno 
GNU gdb (Uos 8.2.1.1-1+security) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
&amp;lt;http://www.gnu.org/software/gdb/bugs/&amp;gt;.
Find the GDB manual and other documentation resources online at:
    &amp;lt;http://www.gnu.org/software/gdb/documentation/&amp;gt;.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dyno...done.
(gdb) q&lt;/LI-CODE&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 12:42:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1287705#M8394</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-07T12:42:13Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1288002#M8401</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing the requested details. gdb ./dyno would be the invocation mechanism for non-MPI applications, which you have already done.  &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you try upgrading your version of GDB? Please also check if this is a known limitation of the version of GDB shipped with your OS distribution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please also share the output of,&lt;/P&gt;&lt;P&gt;$ cat /proc/version&lt;/P&gt;&lt;P&gt;$ cat /proc/os-release&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar  &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2021 08:02:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1288002#M8401</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-08T08:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1288048#M8404</link>
      <description>&lt;P&gt;Hi Amar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know how to upgrade my GDB and I do not know anything about the possible limitation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running a Deepin OS (v20) which I believe is derived from Debian 9. Here is what I got for running 'cat /proc/version':&lt;/P&gt;
&lt;P&gt;Linux version 5.4.70-amd64-desktop (deepin@deepin-PC) (gcc version 8.3.0 (Uos 8.3.0.3-3+rebuild)) #2 SMP Wed Jan 6 13:39:30 CST 2021&lt;/P&gt;
&lt;P&gt;There is no /proc/os-release file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is indeed causing the problem, then I might need to install another system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;AUDIO style="display: none;" controls="controls"&gt;&lt;/AUDIO&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 10:33:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1288048#M8404</guid>
      <dc:creator>xsl</dc:creator>
      <dc:date>2021-06-08T10:33:12Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1288051#M8405</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Currently, Intel MPI Library supports the following OS distributions - &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Red Hat* Enterprise Linux* 7, 8&lt;/LI&gt;&lt;LI&gt;Fedora* 31&lt;/LI&gt;&lt;LI&gt;CentOS* 7, 8&lt;/LI&gt;&lt;LI&gt;SUSE* Linux Enterprise Server* 12, 15&lt;/LI&gt;&lt;LI&gt;Ubuntu* LTS 16.04, 18.04, 20.04&lt;/LI&gt;&lt;LI&gt;Debian* 9, 10&lt;/LI&gt;&lt;LI&gt;Amazon Linux 2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-mpi-library-release-notes-linux.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-mpi-library-release-notes-linux.html&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There is also the possibility of attaching to a running PID in GDB. If this may serve your requirements, you may also try this approach. There is no guarantee that this will work though. Section 20.2.2 in the following link shows the procedure,&lt;/P&gt;&lt;P&gt;&lt;A href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/developer_guide/debugging-running-application" target="_blank"&gt;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/developer_guide/debugging-running-application&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have further questions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar  &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jun 2021 10:50:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1288051#M8405</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-08T10:50:12Z</dc:date>
    </item>
    <item>
      <title>Re:Debugging MPI codes with -gtool or -gdb hangs (nothing happens when typing the command)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1291077#M8472</link>
      <description>&lt;P&gt;Hi xsl,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there anything else I can help you with before closing this thread?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amar &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jun 2021 11:18:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Debugging-MPI-codes-with-gtool-or-gdb-hangs-nothing-happens-when/m-p/1291077#M8472</guid>
      <dc:creator>DrAmarpal_K_Intel</dc:creator>
      <dc:date>2021-06-18T11:18:12Z</dc:date>
    </item>
  </channel>
</rss>

