jjakacki@iopan_gda_pl
Member
I have made dead case test and it works fine. I have chosen compset G for more reliable test and the model stopped when it tried to read ocean init TS file (ocean component of the model - POP2). I did some research and i figure out the problem. I will try to explain it:
if fortran reads direct access file the open statement looks like:
open(xx,file='xxx', access=........, recl=nx*ny*recl_fact*2)
nx*ny means number of data for reading
2 means it is for double precision (8 bytes)
recl_fact is machine depended factor.
Most of the machines has this factor equal 4. But on my machine this factor is equal 1. So if ocean model defined recl based on size of domain file is to small and it tries to read record which does not exist. I know ho to fix the problem, but i think there is much more reading statemnets like this. So my question is:
is it possible to add compiler flag to have recl_factor equal 4?
This machine have intel compilers (ifort and icc)
Thank you in advance for any help.
Jaromir
if fortran reads direct access file the open statement looks like:
open(xx,file='xxx', access=........, recl=nx*ny*recl_fact*2)
nx*ny means number of data for reading
2 means it is for double precision (8 bytes)
recl_fact is machine depended factor.
Most of the machines has this factor equal 4. But on my machine this factor is equal 1. So if ocean model defined recl based on size of domain file is to small and it tries to read record which does not exist. I know ho to fix the problem, but i think there is much more reading statemnets like this. So my question is:
is it possible to add compiler flag to have recl_factor equal 4?
This machine have intel compilers (ifort and icc)
Thank you in advance for any help.
Jaromir