- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got the following error msg.
forrtl: severe (170): Program Exception - stack overflow
Image PC Routine Line Source
main.exe 005174E5 Unknown Unknown Unknown
main.exe 0045BC32 _MAIN__ 220 main.f
main.exe 00530145 Unknown Unknown Unknown
main.exe 005179B0 Unknown Unknown Unknown
KERNEL32.dll 7C59893D Unknown Unknown Unknown
Image PC Routine Line Source
main.exe 005174E5 Unknown Unknown Unknown
main.exe 0045BC32 _MAIN__ 220 main.f
main.exe 00530145 Unknown Unknown Unknown
main.exe 005179B0 Unknown Unknown Unknown
KERNEL32.dll 7C59893D Unknown Unknown Unknown
When I did some search, it seemed like I had to increase the stach size. So I did it by /F. They said the default was 1,000,000, but when I changed it to
/F1000000000000 (and lots of numbers between) and it still gives the same error msg, I started to wonder whether I actually increased the stack size or whether something else is going on. I added "/F1000000000000" to "Additional Options" box under "Command Line" under "Linker." Did I do it right? Or is there something else I should look into?
I have Intel Fortran 8.1 and am running it on Visual Studio .net.
Thanks, Laura
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1GB is the maximum stack. Pick a smaller number, such as 100000000.
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