Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28446 Discussions

Unable to run mpirun with intel debugger

cfduser
Beginner
393 Views

Hello,

I am trying to use intel debugger with mpich 2. I issue the following:

mpirun -idb=gdb -np 2 ./a.out

and get the following message
invalid "local" arg: -idb=gdb

As per the instructions I found online, I have set the $IDB_HOME to where the debugger is "/opt/intel/idbe/9.1.040/bin/" and also copied mpirun_dbg.idb into the directory where mpirun is located "/usr/local/mpich2-1.0.3-install/bin/mpirun"

Any clues as to the source of the problem?

Thanks!
 

0 Kudos
2 Replies
TimP
Honored Contributor III
393 Views
As I remember it, the MPI compatible options aren't available with the gdb option. You should also check the documentation on how to submit the command. It's not easy to remember. More like mpirun -np 2 idb .....
0 Kudos
cfduser
Beginner
393 Views
Thanks.

I tried the following: mpirun -np 2 idb -parallel ./a.out
and got the following message.

Intel Debugger for Intel EM64T -based Applications, Version 9.1-25, Build 20060928
Intel Debugger for Intel EM64T -based Applications, Version 9.1-25, Build 20060928
Reading symbolic information from /home/anup/a.out...done
Assertion failed: falsesrc/appl/procs/paReading symbolic information from /home/cfduser/a.out...rallel/parallelSupport.C338
This is an unexpected condition and may indicate the presence of a defect.
If you wish to report this, please include the stack trace that follows./opt/intel/idbe/9.1.040/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0x11) [0xcc24b1]
/opt/intel/idbe/9.1.040/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x27) [0xf56e77]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z19makeParallelSessionv+0x27e) [0xe7fece]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x12eb) [0xcbf953]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z7idbMainiPPKcS1_+0x427) [0xcc0faf]
/opt/intel/idbe/9.1.040/bin/idb-e(main+0x3d) [0xbba01d]
/lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x3714a1c3fb]
/opt/intel/idbe/9.1.040/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x7a) [0x7e6c6a]


Intel Debugger for Intel EM64T -based Applications, Version 9.1-25 caught signal "Aborted" (6).
This is an unexpected condition and may indicate the presence of a defect.
If you wish to report this, please include the stack t/lib64/tls/libc.so.6 [0x3714a2e2b0]
/lib64/tls/libc.so.6(gsignal+0x3d) [0x3714a2e21d]
/lib64/tls/libc.so.6(abort+0xfe) [0x3714a2fa1e]
/usr/lib64/libstdc++.so.5 [0x2a95627146]
r/usr/lib64/libstdc++.so.5 [0x2a95627183]
/usr/lib64/libstdc++.so.5 [0x2a956272a3]
/opt/intel/idbe/9.1.040/bin/idb-e(deb_assert+0x89) [0xce0501]
/opt/intel/idbe/9.1.040/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0x11) [0xcc24b1]
/opt/intel/idbe/9.1.040/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x27) [0xf56e77]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z19makeParallelSessionv+0x27e) [0xe7fece]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x12eb) [0xcbf953]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z7idbMainiPPKcS1_+0x427) [0xcc0faf]
/opt/intel/idbe/9.1.040/bin/idb-e(main+0x3d) [0xbba01d]
/lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x3714a1c3fb]
/opt/intel/idbe/9.1.040/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x7a) [0x7e6c6a]
ace that follows.
Assertion failed: falsesrc/appl/procs/parallel/parallelSupport.C338
This done
is an un/opt/intel/idbe/9.1.040/bin/idb-e(_ZN15IDBAssertFailed3runEPKcS1_j+0x11) [0xcc24b1]
e/opt/intel/idbe/9.1.040/bin/idb-e(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x27) [0xf56e77]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z19makeParallelSessionv+0x27e) [0xe7fece]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z15decladebug_initiPPKcS1_+0x12eb) [0xcbf953]
/opt/intel/idbe/9.1.040/bin/idb-e(_Z7idbMainiPPKcS1_+0x427) [0xcc0faf]
/opt/intel/idbe/9.1.040/bin/idb-e(main+0x3d) [0xbba01d]
/lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x3714a1c3fb]
/opt/intel/idbe/9.1.040/bin/idb-e(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x7a) [0x7e6c6a]
xpected condition and may indicate the presence of a defect.
If you wish to report this, please include the stack trace that follows.

0 Kudos
Reply