|
[Sponsors] |
June 23, 2004, 14: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, 15: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, 19:32 |
Re: How to handle FORTRAN Error?
|
#3 |
Guest
Posts: n/a
|
||
June 24, 2004, 09: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, 13: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, 17: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, 06: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 10:27 |
c++ libraries and solver compiling | vaina74 | OpenFOAM Installation | 13 | February 3, 2012 18:43 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 21:11 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |