I use boundary element method to deal with some dynamic calculation problem. When I calculate time step 12, the total cell number equals 363, one matrix dimension becomes allocate(363*3,363*3). When the size of a matrix exceeds (1000,1000), how can I deal with this issue?
The error is shown as below
forrtl: severe (170): Program Exception - stack overflow
Image PC Routine Line Source
HFMODEL.exe 0019AFB7 Unknown Unknown Unknown
HFMODEL.exe 00195297 _MAIN__ 306 HFMODEL.f90
HFMODEL.exe 0019CE5F Unknown Unknown Unknown
HFMODEL.exe 0019B269 Unknown Unknown Unknown
HFMODEL.exe 0019B3AD Unknown Unknown Unknown
kernel32.dll 76CE336A Unknown Unknown Unknown
ntdll.dll 776198F2 Unknown Unknown Unknown
ntdll.dll 776198C5 Unknown Unknown Unknown