Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

How to debug core dumps and segmentation faults with ifort compiler

Ashwin_D_
Beginner
1,741 Views

I have code that I compiled and linked and created an executable. As a newbie to ifort and fortran 90 how do I go about debugging segmentation faults and core dumps ?

 

I prefer a command line utility if one is available.

0 Kudos
2 Replies
jayb
Beginner
1,741 Views

On Linux, I use good old gdb.  Compile your Intel Fortran code with the -debug option, and you're good to go.  There are many on-line tutorials about gdb, and several excellent books.

Jay

 

0 Kudos
Steven_L_Intel1
Employee
1,741 Views

Solved - see https://software.intel.com/en-us/forums/topic/560458

0 Kudos
Reply