CVFORTRAN 66b forrtl: severe (170): Program Exception - stack overflow

CVFORTRAN 66b forrtl: severe (170): Program Exception - stack overflow

This program can run on Linux with pgf90 well,but when i run my program on win2000server,it says:
forrtl: severe (170): Program Exception - stack overflow
Image PC Routine Line Source
2DWP.exe 00401A73 Unknown Unknown Unknown
2DWP.exe 004029B9 Unknown Unknown Unknown
2DWP.exe 00449929 Unknown Unknown Unknown
2DWP.exe 0042EDB9 Unknown Unknown Unknown
KERNEL32.dll 77E7CA90 Unknown Unknown Unknown
Incrementally linked image--PC correlation disabled.
Press any key to continue

The help of cvf says:
severe(170): Program Exception - stack overflow
FOR$IOS_PGM_STKOVF. The Compaq Fortran RTL has detected a stack overflow while executing your program. See your Release Notes for information on how to increase stack size.

Part of the f90 program is:

main program:
call initialWP(kesai,beita,0,dim,j)

subroutine initialWP(kesai,beita,select,dim,m)

if dim=99,it is OK.

Can you help me and tell me why this happen and how to deal with this problem,thank you!

My email is

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Retired 12/31/2016

your text hereyour text hereyour text here

your code here

your text here

Thank you very much!
It works well.

Leave a Comment

Please sign in to add a comment. Not a member? Join today