<div dir="ltr">Hello all,<br><br>I am trying to debug a program compiled with ifort and the latest mpich2 libraries.&nbsp; I have two issues:<br><br>1.&nbsp; While I can launch gdb with the -gdb option from mpiexec, gdb has the unfortunate inability to read data from fortran modules other than the one it&#39;s currently in.&nbsp; I&#39;ve googled around for an answer but haven&#39;t found one yet.&nbsp; Does anyone know how do this in gdb?<br>
<br>2.&nbsp; I&#39;ve tried to use idb (which can access data from other fortan modules) but I can&#39;t seem to get it to work with mpi.&nbsp; I&#39;ve done<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
mpiexec -n 2 idb -parallel ./program</blockquote><div>and I&#39;ve tried attaching it to a running program but I just get the same errors:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Intel(R) Debugger for applications running on Intel(R) 64, Version 10.1-35 , Build 20080310<br>Reading symbols from /home/peter/runs/lidDrivenCavity/wall_xp/128/test/arts...Reading symbols from /home/peter/runs/lidDrivenCavity/wall_xp/128/test/arts...done.<br>
done.<br>Assertion failed: falsesrc/appl/procs/parallel/parallelSupport.C333<br>This isA an unexpected condition and may indicate the presence of a defect.<br>If you wish to report this, please include the stack trace that follows.<br>
ssertion failed: falsesrc/appl/procs/parallel/parallelSupport.C333<br>This is an unexpected condition and may indicate the presence of a defect.<br>If you wish to report this, please include the stack trace that follows.<br>
/opt/intel/idbe/10.1.017/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0xe) [0xcb304c]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0xe) [0xcb304c]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x24) [0xf1c38c]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(_Z19makeParallelSessionv+0x25c) [0xe3c6d0]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x24) [0xf1c38c]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z19makeParallelSessionv+0x25c) [0xe3c6d0]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x78b) [0xcb1ba9]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z7idbMainiPPKcS1_+0x60e) [0xcaf2de]<br>/opt/intel/idbe/10.1.017/bin/idb-e(main+0x3c) [0xb87a98]<br>/lib64/libc.so.6(__libc_start_main+0xf4) [0x352041e074]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x5a) [0x7ba02a]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x78b) [0xcb1ba9]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z7idbMainiPPKcS1_+0x60e) [0xcaf2de]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(main+0x3c) [0xb87a98]<br>/lib64/libc.so.6(__libc_start_main+0xf4) [0x352041e074]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x5a) [0x7ba02a]<br>
<br><br>Intel(RIn) Debugger for applications running on Intel(R) 64, Version 10.1-35&nbsp; caught signal &quot;Aborted&quot; (6).<br>This is an unexpected condition and may indicate the presence of a defect.<br>If you wish to report this, please include the stack trace that follows.<br>
tel(R) Debugger for appli/lib64/libc.so.6 [0x3520430f30]<br>/lib64/libc.so.6(gsignal+0x35) [0x3520430ec5]<br>/lib64/libc.so.6(abort+0x110) [0x3520432970]<br>/usr/lib64/libstdc++.so.5 [0x7fc1ef44c086]<br>/usr/lib64/libstdc++.so.5 [0x7fc1ef44c0c3]<br>
/usr/lib64/libstdc++.so.5 [0x7fc1ef44c1e3]<br>/opt/intel/idbe/10.1.017/bin/idb-e(deb_assert+0x75) [0xcdc991]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0xe) [0xcb304c]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x24) [0xf1c38c]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(_Z19makeParallelSessionv+0x25c) [0xe3c6d0]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x78b) [0xcb1ba9]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z7idbMainiPPKcS1_+0x60e) [0xcaf2de]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(main+0x3c) [0xb87a98]<br>/lib64/libc.so.6(__libc_start_main+0xf4) [0x352041e074]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x5a) [0x7ba02a]<br>
cations running on Intel(R) 64, Version 10.1-35&nbsp; caught signal &quot;Aborted&quot; (6).<br>This is an unexpected condition and may indicate the presence of a defect.<br>If you wish to report this, please include the stack trace that follows.<br>
/lib64/libc.so.6 [0x3520430f30]<br>/lib64/libc.so.6(gsignal+0x35) [0x3520430ec5]<br>/lib64/libc.so.6(abort+0x110) [0x3520432970]<br>/usr/lib64/libstdc++.so.5 [0x53ca086]<br>/usr/lib64/libstdc++.so.5 [0x53ca0c3]<br>/usr/lib64/libstdc++.so.5 [0x53ca1e3]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(deb_assert+0x75) [0xcdc991]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0xe) [0xcb304c]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x24) [0xf1c38c]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(_Z19makeParallelSessionv+0x25c) [0xe3c6d0]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x78b) [0xcb1ba9]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_Z7idbMainiPPKcS1_+0x60e) [0xcaf2de]<br>
/opt/intel/idbe/10.1.017/bin/idb-e(main+0x3c) [0xb87a98]<br>/lib64/libc.so.6(__libc_start_main+0xf4) [0x352041e074]<br>/opt/intel/idbe/10.1.017/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x5a) [0x7ba02a]</blockquote>
<div>I&#39;ve googled around for this error message as well and no one seems to have a response to it.&nbsp; Any ideas? <br><br>Thanks in advance,<br>Peter.<br></div>&nbsp; <br></div></div>