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

How to debug core dumps and segmentation faults with ifort compiler

Ashwin_D_
Beginner
1,951 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,951 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,951 Views

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

0 Kudos
Reply