Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Does dbx/dbxtool work with Intel Fortran compiled programs

4cb72285-47a5-43a4-aea7-a3207f7dd726Aug 1 2019 — edited Aug 8 2019

I have a huge program that is mixed C/C++/Fortran where most of it is in Fortran (main function is C++) and everything is compiled using Intel compilers (ifort, icc, icpc). When I try to debug that using dbxtool, that only seems to work for C/C++ part. I cannot enter the Fortran part and the call stack shows no lines for the respective source files or dbx crashes when trying to show the call stack. In cases where the stack trace can be shown, only disassembly is displayed when clicking the respective frame in a fortran file. I cannot set breakpoints in the f90 source files, I always get

dbx: internal warning: SrcLocClosure::iterate("atm_solver_fcns.o"): no fixed_first_line > 0

Comments

user9375843

I'd have thought it would be ifort not producing symbolic information in dbx compatible format (or otherwise missing some metadata). Does IDB (the intel debugger) work?

1 - 1

Post Details