- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I wonder how I can increase the stack size in my Intel Fortran 11.1 professional ?
Thanks
I wonder how I can increase the stack size in my Intel Fortran 11.1 professional ?
Thanks
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply and instruction. I will try that .
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page