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

Stack Overflow - IFC Vs Compaq VFC

sree_kasturi
Beginner
368 Views
Hi!
Ihave a fortran code that uses very large arrays (typically of size 1300x1300) all automatic (no ALLOCATE fns), and i have been running into the "(170) Stack Overflow" run-time error using Intel FC 8.1 on Windows. Earlier i used to compile my source code on Digital (Compaq) Visual Fortran 6.0, andthere was no problem (and itstill works!)i read in the release notes of both compilers that the default stack size is set to 1 MB - however Digital does not break down at debug/execution while IFC does. i tried increasing the stack size using /link /stack:nnnn option in CLI and VS.NET 2003 GUI and went up to 100MB (commit) +300MB(reserve) but neither of them worked.
Iused the IFC for linux to compile the same source code and it worked alright - no stack overflow errors but that's probably because of the way linux treats the stack?
to cut a long story short -is there aworkaround to run my codein IFC on Windows?
Thanks!
Sree.
0 Kudos
0 Replies
Reply