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

Stack overflow prevention using -heap_arrays

johntylor
Beginner
746 Views

Hi,

Will optimization parameters like: -O3 -no-prec-div -ipo -axP
disable the -heap_arrays parameter?

Thanks.


- JT
0 Kudos
2 Replies
Ron_Green
Moderator
746 Views
Just to make sure, use "-heap-arrays" with a dash and not an underscore.

Those other arguments will have no affect on -heap-arrays. However, they may have other effects that cause unrelated anomalies. You can add

-g -traceback

along with optimizations. This to give you the location of any aborts.

ron
0 Kudos
johntylor
Beginner
746 Views
Thank you Ronald.

- JT
0 Kudos
Reply