stack overflow

stack overflow

Dear all,

I wonder how I can increase the stack size in my Intel Fortran 11.1 professional ?


4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

First suggestion is to set the project property Fortran > Optimization > Heap Arrays to 0 (zero).

If that doesn't help, then the stack size is set by property Linker > System > Stack Reserve Size. The default is 1000000 (one million bytes), so start with 100,000,000 and see where that gets you.

Retired 12/31/2016

The primary stack size is controlled by Visual Studio options such as /link /stack: and the corresponding options in Visual Studio project linker properties (or by editbin ....). If you are using /Qopenmp or /Qparallel, there is also per thread stack, for which you would look up kmp_stacksize.

Thanks for your reply and instruction. I will try that .

Leave a Comment

Please sign in to add a comment. Not a member? Join today