stack over flow in f90

Dear all friends
i performed a fortran code(f90) to simulate natural convection, but have a problem!
when my grid size is 8080 the code work good, but when i increase the grid size to 100100, the compiler fall in error:
the error is:
stack over flow!
i think it should be for matrix that i have in the code! the dimension of the martrix is :(9,80,80)
i have about 12 matrix in the code!!
how can i solve this problem?

best regard
ehsan

Hello,

I guess the problem is with the “ulimit”. Try the command

ulimit -s unlimited

Good luck,
Orestis

Hi all
Thanks orestis
I solved the problem,it caused for a lot of subroutine in my code,when i wrote it in straight code,this problem get solved!!

Best regard
Ehsan