Hello,
I have simulation, where it gives "forrtl: severe (157): Program Exception - access violation" and I am just wondering where to start troubleshooting this. i.e. what are the typical causes I should check first? I have crossed off the following already:
- Vents on thin obstructions
- Vents within obstacles.
- Not enough RAM. 32gb RAM for 2 million cells, only 15gb is ever being used. CPU at 90% only 5 of 8 cores
- No obstructions are added or removed at time of crash.
- No Sudden change in HRR
- No Cell aspect ratio 2 to 1
- Windows: energy save mode is turned off
- Open vents set wrongly: q_pres is always zero so do not think that is the issue
I let it "restart"" and it will sometimes get quite a bit further, sometimes less, does this help in diagnosing the problem?
Also, it spits out which line is the problem, but it is not always the same (840 or 816 or 648 I have remembered to note down so far). For example..
forrtl: severe (157): Program Exception - access violation
Image PC Routine Line Source
fds.exe 00007FF6D22D473C PHYSICAL_FUNCTION 2851 func.f90
fds.exe 00007FF6D22C1250 Unknown Unknown Unknown
libiomp5md.dll 00007FF9F6532B63 Unknown Unknown Unknown
libiomp5md.dll 00007FF9F648E16D Unknown Unknown Unknown
libiomp5md.dll 00007FF9F644B5FD Unknown Unknown Unknown
fds.exe 00007FF6D22ACFB0 Unknown Unknown Unknown
fds.exe 00007FF6D1F7FB38 MAIN__ 648 main.f90
fds.exe 00007FF6D1F3F09E Unknown Unknown Unknown
fds.exe 00007FF6D28D6664 Unknown Unknown Unknown
KERNEL32.DLL 00007FFA0D097BD4 Unknown Unknown Unknown
ntdll.dll 00007FFA0DE4CED1 Unknown Unknown Unknown
I also see that this time there are six fds.exe , but there should be five as I have 5 MPI. is that normal? the previous time it was four. I do not always get the above error message, usually it is less verbose.
Also, I see in the manual that there should be a final plot3D file dumped when numerical instability is encountered, then I could see if high velocites are the problem, but I do not find any .q files in the working directory.
Next I am going to check for:
-
"Exposed" obstructions that are more than grid cell thick.
- High speed flows through small openings: in my model there are some locations where the edges of two obstacles meet (see image), I think these can allow flow to pass, I will remove these and let run again. How can I check for high veolocities directly?
- Anti-virus issues?
- remove all thin obstructions: i think i read these can cause issues.
.