In Intel Fortran, there is I/O buffering option, like below,
So, especially when using slow HDDs, and if there are some frequent or big data read and write activities, it can prevent the system from frozen.
Does anyone know that if gfortan or gcc have similar flag(s)? Many thanks in advance!