|
[Sponsors] |
June 23, 2004, 13:48 |
How to handle FORTRAN Error?
|
#1 |
Guest
Posts: n/a
|
Dear CFD people, I am trying to validate my laminar 2d finite volume -ROE FDS- solver using NACA0012. However, as I increased the number of grid point, I met the following error and couldn't fixed it. Can you please help me? Thanks. Regards.
Error I met: forrtl: severe (170): Program Exception - stack overflow |
|
June 23, 2004, 14:49 |
Re: How to handle FORTRAN Error?
|
#2 |
Guest
Posts: n/a
|
Try to create a 64 bit object file so as to increase the memory allocation for arrays. I use the -64 compiler option for f77 on an SGI machine.
|
|
June 23, 2004, 18:32 |
Re: How to handle FORTRAN Error?
|
#3 |
Guest
Posts: n/a
|
||
June 24, 2004, 08:04 |
Re: How to handle FORTRAN Error?
|
#4 |
Guest
Posts: n/a
|
A stack overflow usually indicates that you have huge local arrays in a function or subroutine.
Try declaring your arrays as DATA or COMMON. This will take them off the stack. |
|
June 26, 2004, 12:03 |
Re: How to handle FORTRAN Error?
|
#5 |
Guest
Posts: n/a
|
Thanks a lot for valuable suggestions.
I modified the stack size in the executable itself using EDITBIN, such as: editbin /stack:4000000 main.exe It worked Regards..... |
|
June 29, 2004, 16:35 |
Re: How to handle FORTRAN Error?
|
#6 |
Guest
Posts: n/a
|
I think you did this in linux based system. right?
Is it possible to do in Windows-based fortran compilers like Lahey-Fhjitsu or Digitial Visual Fortran as well? Thanks, |
|
July 2, 2004, 05:32 |
Re: How to handle FORTRAN Error?
|
#7 |
Guest
Posts: n/a
|
I use "Compact Visual Fortran Standart Edition 6.5.0" and Windows XP. Regards.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nonNewtonian viscosity model | mhassani | OpenFOAM Programming & Development | 5 | January 7, 2013 09:27 |
c++ libraries and solver compiling | vaina74 | OpenFOAM Installation | 13 | February 3, 2012 17:43 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 06:25 |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 20:11 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |