I have a problem with my Fortran simple program.
I am working on Compaq Visual Fortran, using Frotran 77 codes.
The program structure must be in this form , a main and subroutine because it is a part of a big program related to finite element method.
I have to enter the numbers of NHELE & NVELE as you can see in first statment.
The numbers must be 10000 & 10000 !!!
When I run the program stops and shows me the following messege:
forrt1: server <170>: program Exception - stack overflow
So I changed the required number much smaller till I reach 507 & 507 !!! , And it runs OK !!
but when I change it in to 508 & 508 >>> It stops again !! with the same messege.
I think the problem is about the Subroutine (NIGTEE) , because when i rearrange the program without it, every thing works fine.
I increased the stack size to maximum by project>>settings>>link>>output>>reserve & commit
but it didn't work also !!
how can I solve this problem ??
I will appreciate any help
My program ::
OPEN(UNIT=7,FILE='MeshNO For Rectangular.TXT',STATUS='UNKNOWN')
DO 20 I=1,NVNODE
DO 20 J=1,NHNODE
DO 30 I=1,NVELE
DO 30 J=1,NHELE
DO 50 II=1,4
Thanks in Advance all