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.

how to solve "Stack overflow"

kilby
Beginner
870 Views
Hi,

In my program, large data arrays are frequently used. This time I have to compute the inversion of a 4000 by 4000 matrix, and stack overflow error shows up. The CVF6.5 help documents tell me I should See the Section "Guidelines for Programs That Use Large Data Arrays" in the post-installation part of Compaq Visual Fortran Installing and Getting Started. Unfortunately I can't find it. I have used the /stack:0x5f5e100 compiler option, but it does not work. Any suggestions for the problem? Thanks in advance.

Jian
0 Kudos
1 Reply
Steven_L_Intel1
Employee
870 Views
How are you specifying /stack? From the command line, you'd need to use /link/stack:value after all compiler switches.

You may also find this article helpful.

Steve
0 Kudos
Reply