- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using ifc 7.0 on i686 with RH7.2. Compiled OpenMP Fortran 90 code with "-g -auto -openmp". When trying to run executable under idb I get the following.
$ idb ../navo4_omp/swan.x
Linux Application Debugger for 32-bit applications, Version 7.0, Build 20021021
------------------
object file name: ../navo4_omp/swan.x
Reading symbolic information ...done
(idb) run
SWAN is preparing computation
Thread received signal RTMIN
stopped at [ __sigsuspend(...) 0x400c8ba5]
Information: An type was presented during execution of the previous command. For complete type information on this symbol, recompilation of the program will be necessary. Consult the compiler man pages for details on producing full symbol table information using the '-g' (and '-gall' for cxx) flags.
(idb) where
>0 0x400c8ba5 in __sigsuspend(...) in /lib/i686/libc.so.6
#1 0x4008e1d9 in __pthread_wait_for_restart_signal(...) in /lib/i686/libpthread.so.0
#2 0x4008e2ac in __pthread_create_2_1(...) in /lib/i686/libpthread.so.0
#3 0x824ac33 in __kmp_create_monitor(...) in ../navo4_omp/swan.x
#4 0x1ff000
My question is: how do I get the openmp program to execute under idb?
Thanks,
tjcamp
$ idb ../navo4_omp/swan.x
Linux Application Debugger for 32-bit applications, Version 7.0, Build 20021021
------------------
object file name: ../navo4_omp/swan.x
Reading symbolic information ...done
(idb) run
SWAN is preparing computation
Thread received signal RTMIN
stopped at [
Information: An
(idb) where
>0 0x400c8ba5 in __sigsuspend(...) in /lib/i686/libc.so.6
#1 0x4008e1d9 in __pthread_wait_for_restart_signal(...) in /lib/i686/libpthread.so.0
#2 0x4008e2ac in __pthread_create_2_1(...) in /lib/i686/libpthread.so.0
#3 0x824ac33 in __kmp_create_monitor(...) in ../navo4_omp/swan.x
#4 0x1ff000
My question is: how do I get the openmp program to execute under idb?
Thanks,
tjcamp
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm afraid the debugger shipped with the 7.0 compilers, idb, does not support debugging of OpenMP applications. We hope to add support for this in the next major version of the compiler and debugger.
gdb allows some debugging of threads, although it has limited Fortran support. (There has been work on a version with Fortran support called gdbf95, mentioned in other threads in this forum, see sourceforge.net). Version 6 of the TotalView debugger from Etnus supports debugging of OpenMP applications built with the Intel Compiler 7.0.
Martyn
gdb allows some debugging of threads, although it has limited Fortran support. (There has been work on a version with Fortran support called gdbf95, mentioned in other threads in this forum, see sourceforge.net). Version 6 of the TotalView debugger from Etnus supports debugging of OpenMP applications built with the Intel Compiler 7.0.
Martyn

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page