Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 ディスカッション

how to solve "Stack overflow"

kilby
ビギナー
839件の閲覧回数
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 件の賞賛
1 返信
Steven_L_Intel1
従業員
839件の閲覧回数
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
返信