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

stack overflow

rafadix08
Beginner
635 Views
Hi,
I am having a stack overflow message - error message 170.
I am using Intel Fortran 11 with Microsoft Visual Studio.
I tried to goto Project > Properties > Fortran > Command Line
and add /F100000000 at the "Additional Options" box. It did not work.
I also tried to add /heap_arrays instead of /F100000000 but I get the following message when I compile:
ifort: command line warning #10006: ignoring unknown option '/heap_arrays'
In summary, I want to increase the stack size butIguess I am doing something wrong. Could someone help me on that?
Thanks,
Rafael
0 Kudos
1 Reply
Steven_L_Intel1
Employee
635 Views
Hmm - that should have worked. Try spelling it /heap-arrays instead. (I thought /heap_arrays would also work.)

An alternative is to go to the property Linker > System > Stack Reserve Size and set it high.
0 Kudos
Reply