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

Stack overflow

ferrad
New User
717 Views

During the upgrade from CVF to Intel, we have encountered a bug where a C++ call to a Fortran routine now fails with a stack overflow. It worked fine in CVF. There are a large numberof local variables defined in the subroutine and I suspect that it breaks some limit. I seem to remember in CVF there was a way to increase the stack size on the compliation options, but I cannot see this on the Intel compiler. Did I just miss it?

0 Kudos
1 Reply
TimP
Honored Contributor III
717 Views
/stack options are the same as for CVF e.g. append
/link /stack:nnnnnnnnn
It's true this is needed more frequently nowadays, and the available space is more restricted with XPSP2.
0 Kudos
Reply