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

Stack overflow

ferrad
New User
724 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
724 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