Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Comunicados
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.

How to debug core dumps and segmentation faults with ifort compiler

Ashwin_D_
Principiante
1.746 Visualizações

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 Respostas
jayb
Principiante
1.746 Visualizações

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

 

Steven_L_Intel1
Funcionário
1.746 Visualizações

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

Responder