Hi. I installed roms and try to run the Basin example. But, I have one problem and I can't seem to solve it.
Here is my problem.
Found Error: ** Line: 164 Source: ROMS/Utility/def_var.F, def_var_nf90
DEF_VAR_NF90 - Grid 01, unable to define variable:
in NetCDF file: roms_his.nc
Found Error: 03 Line: 3091 Source: ROMS/Utility/def_info.F, def_info_nf90
Found Error: 03 Line: 488 Source: ROMS/Utility/def_his.F, def_his_nf90
Found Error: 03 Line: 103 Source: ROMS/Utility/def_his.F
Found Error: 03 Line: 196 Source: ROMS/Nonlinear/output.F
Found Error: 03 Line: 582 Source: ROMS/Nonlinear/main3d.F
Found Error: 03 Line: 298 Source: ROMS/Drivers/nl_roms.h, ROMS_run
ROMS result files(roms_his.nc, roms_rst.nc etc.) are not created along with the above message.
If I change the output timestep of all files to 0, the model will run but no result file will be created.
My system is ubuntu 22.04.
I installed zlib, hdf5, netcdf-c(4.9.1), netcdf-f(4.6.0) library.
I using gfortran and openmpi for roms compile.
my roms version is 1214.
Is there any way to solve the above problem?
I attached roms run log file.
Thanks for help!
Found Error:** Line:164 Source:ROMS/Utility/def_var.F, def_var_nf90
Found Error:** Line:164 Source:ROMS/Utility/def_var.F, def_var_nf90
- Attachments
-
- roms_run.log
- (30.14 KiB) Downloaded 173 times
Re: Found Error:** Line:164 Source:ROMS/Utility/def_var.F, def_var_nf90
There should be a variable name printed after the colon, i.e. "unable to define variable: ubar". Your error does not include a variable name. If you read further down in the log you will see:
ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: NetCDF: Name contains illegal characters
Looking at the line numbers for ROMS/Utility/def_info.F, there is a discrepancy. In the latest version of the code, line 3091 would not print this error. However, version 1211 and earlier of the source code would throw this error while attempting to define bathymetry. You may have inconsistent versions in your code. Perhaps the command svn status can give you a hint.
ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: NetCDF: Name contains illegal characters
Looking at the line numbers for ROMS/Utility/def_info.F, there is a discrepancy. In the latest version of the code, line 3091 would not print this error. However, version 1211 and earlier of the source code would throw this error while attempting to define bathymetry. You may have inconsistent versions in your code. Perhaps the command svn status can give you a hint.