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

How to get a core dump on forrtl

alastair_mckinstry
1,245 Views
Hi, I'm debugging a complex fortran code (MPI) thats giving the errors:
forrtl: severe (151): allocatable array is already allocated

I'm having a hard time debugging this: this is a code with built-in traceback analysis which makes working
with debuggers a pain - I can't get debugging working using ddt, and am trying to debug via core dumping.

Despite "ulimit -c unlimited' , I get no core dumps. I get core dumps for other SIGABRT situations, but can't
trigger one here. Is there a special environment variable I need?

Regards
Alastair
0 Kudos
2 Replies
Kevin_D_Intel
Employee
1,245 Views


You can try setting the ifort specific run-time environment variable decfort_dump_flag to a value of Y, or y, or even 1 seems to work. This is a documented environment variable.

0 Kudos
alastair_mckinstry
1,245 Views


You can try setting the ifort specific run-time environment variable decfort_dump_flag to a value of Y, or y, or even 1 seems to work. This is a documented environment variable.

This works.

I was using this in Uppercase instead of lowercase. I'd forgotten env. variables are case-sensitive.
0 Kudos
Reply