Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • bhseokJuly 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?

    abhimodakJuly 8, 2009 12:47 PM PDT
    Rate
     
    Re: forrtl:severe: Program Exceptin -stack overflow

    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


    bhseokJuly 8, 2009 12:57 PM PDT
    Rate
     
    Re: forrtl:severe: Program Exceptin -stack overflow

    Could you tell me how to use /heap-arrays compliler switch in Microsoft Visual Studio 2005 environment? Thanks.


    Steve Lionel (Intel)July 8, 2009 1:23 PM PDT
    Rate
     
    Re: forrtl:severe: Program Exceptin -stack overflow

    Fortran > Optimization> Heap Arrays.  Set the value to 0.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    bhseokJuly 8, 2009 2:14 PM PDT
    Rate
     
    Re: forrtl:severe: Program Exceptin -stack overflow

    Thank you so much.



Forum jump:  

Intel Software Network Forums Statistics

16,369 users have contributed to 46,341 threads and 163,954 posts to date.

In the past 24 hours, we have 18 new thread(s) 102 new posts(s), and 67 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member bikerepair8


For more complete information about compiler optimizations, see our Optimization Notice.