<div dir="ltr">Hello all,<br><br>I am trying to debug a program compiled with ifort and the latest mpich2 libraries. I have two issues:<br><br>1. 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's currently in. I've googled around for an answer but haven't found one yet. Does anyone know how do this in gdb?<br>
<br>2. I've tried to use idb (which can access data from other fortan modules) but I can't seem to get it to work with mpi. I'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'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 caught signal "Aborted" (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 caught signal "Aborted" (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've googled around for this error message as well and no one seems to have a response to it. Any ideas? <br><br>Thanks in advance,<br>Peter.<br></div> <br></div></div>