Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
bhseok
Total Points:
55
Status Points:
5
Green Belt
July 8, 2009 12:43 PM PDT
forrtl:severe: Program Exceptin -stack overflow
I am doing a computation by using Intel Fortran compiler 11.0. When I used 50 grids, my code worked well. But if I used more than 70 grids, then I got this stack overflow error. How can I resolve this problem?
abhimodak
Total Points:
2,300
Status Points:
1,800
Brown Belt
July 8, 2009 12:47 PM PDT
Rate
 
#1
You may have some "automatic arrays". These go on stack.

Try using /heap-arrays compiler switch.

Note that allocatable arrays will go on heap.


Abhi


bhseok
Total Points:
55
Status Points:
5
Green Belt
July 8, 2009 12:57 PM PDT
Rate
 
#2 Reply to #1
Could you tell me how to use /heap-arrays compliler switch in Microsoft Visual Studio 2005 environment? Thanks.


Steve Lionel (Intel)
Total Points:
114,475
Status Points:
114,475
Black Belt
July 8, 2009 1:23 PM PDT
Rate
 
|Best Answer
#3 Reply to #2
Fortran > Optimization> Heap Arrays.  Set the value to 0.



bhseok
Total Points:
55
Status Points:
5
Green Belt
July 8, 2009 2:14 PM PDT
Rate
 
#4 Reply to #3
Thank you so much.





Intel Software Network Forums Statistics

8439 users have contributed to 31542 threads and 100364 posts to date.
In the past 24 hours, we have 11 new thread(s) 33 new posts(s), and 45 new user(s).

In the past 3 days, the most popular thread for everyone has been /fpp interferes with breakpoints/stepping through code - again The most posts were made to IVF 11.1.051 freezes during build The post with the most views is Quoting - dannycat When I

Please welcome our newest member obi_1