I am working with ROMS3.0 under Red-Hat Linux and PGI Fortran. So far I’ve been able to run the pre-defined model applications and several regional simulations. I found the first problem when using option DIAGNOSTICS_UV. This option works fine with the pre-defined applications (set-up mostly with analytical options) but fails with the regional configurations. I’ve got the following run-time error message when attempting to open the first diagnostic file:
STEP time[DAYS] KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME trd
0 0.00000 0.000000E+00 3.976536E+02 3.976536E+02 1.195432E+13 0
DEF_HIS - creating history file: ocean_his_0001.nc
WRT_HIS - wrote history fields (Index=1,1) into time record = 0000001
DEF_AVG - creating average file: ocean_avg_0001.nc
DEF_DIAGS - creating diagnostics file: ocean_dia_0001.nc
Segmentation fault (core dumped)
I’ve tried the same regional configurations with ROMS2.2 and it works. Has anyone experienced
the same problem with option DIAGNOSTICS_UV using ROMS3.0?
i am actually running an application right now with Diagnositcs_uv turned on and it is running fine.
Does the app work fine if you undef Diagnostics_uv?
Can you try to compile and run in debug mode to see if that provides any useable info?
T Hout(idFsur) Write out free-surface.
T Hout(idUbar) Write out 2D U-momentum component.
T Hout(idVbar) Write out 2D V-momentum component.
T Hout(idUvel) Write out 3D U-momentum component.
T Hout(idVvel) Write out 3D V-momentum component.
T Hout(idWvel) Write out W-momentum component.
T Hout(idOvel) Write out omega vertical velocity.
T Hout(idTvar) Write out tracer 01: temp
T Hout(idTvar) Write out tracer 02: salt
T Hout(idUbms) Write out bottom U-momentum stress.
T Hout(idVbms) Write out bottom V-momentum stress.
0: Subscript out of range for array hout (inp_par.f90: 1250)
subscript=0, lower bound=1, upper bound=500, dimension=1
yes, that does sound strange.
I will add it to my "look into" list.
Perhaps you should update your *.in file to be consistent with the latest release. There may be other flags that you need.
-j