I am a student from India and a pretty new user of ROMS having run only a few test cases. I am trying to run ROMS model for my own region. I created grid file in .nc format using GridBuilder.exe windows application provided generously by Austides team. And my header file looks like this:
After this I compiled my build_roms.sh file and it ran successfully with no error. But when I tried to run my model using ./romsG < External/roms_alderneyrace.in , I get the following error:/*
** svn $Id: basin.h 1001 2020-01-10 22:41:16Z arango $
*******************************************************************************
** Copyright (c) 2002-2020 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt **
*******************************************************************************
**
** Options for Big Bad Basin.
**
** Application flag: BASIN
** Input script: roms_basin.in
*/
#define UV_ADV
#define UV_COR
#define UV_QDRAG
#define UV_VIS4
#define MIX_S_UV
#define DJ_GRADPS
#define SPLINES_VDIFF
#define SPLINES_VVISC
#define SOLVE3D
#define BODYFORCE
#define ANA_SMFLUX
#define ANA_STFLUX
#define ANA_SSFLUX
#define ANA_DRAG
#define ANA_BSFLUX
#define ANA_BTFLUX
#define MASKING
#define SSH_TIDES
#define UV_TIDES
~ ~ ~ ~ ~ ~ ~ ~ ~
sbasak08@DESKTOP-UOIVLQT:~/roms/Projects/alderney_race$ ./romsG <External/roms_alderneyrace.in
--------------------------------------------------------------------------------
Model Input Parameters: ROMS/TOMS version 3.9
Friday - January 22, 2021 - 9:11:34 PM
--------------------------------------------------------------------------------
Alderney Race Case
Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /usr/bin/gfortran
Compiler flags : -frepack-arrays -g -O0 -fbounds-check -fbacktrace -fcheck=all -fsanitize=address -fsanitize=undefined -finit-real=nan -ffpe-trap=invalid,zero,overflow -
SVN Root URL : https://www.myroms.org/svn/src/trunk
SVN Revision : 1053
Local Root : /home/sbasak08/roms
Header Dir : /home/sbasak08/roms/Projects/alderney_race
Header file : alderneyrace.h
Analytical Dir : /home/sbasak08/roms/Projects/alderney_race
Resolution, Grid 01: 300x150x15, Parallel Threads: 1, Tiling: 1x4
Physical Parameters, Grid: 01
=============================
6000000 ntimes Number of timesteps for 3-D equations.
10.000 dt Timestep size (s) for 3-D equations.
20 ndtfast Number of timesteps for 2-D equations between
each 3D timestep.
1 ERstr Starting ensemble/perturbation run number.
1 ERend Ending ensemble/perturbation run number.
0 nrrec Number of restart records to read from disk.
T LcycleRST Switch to recycle time-records in restart file.
360 nRST Number of timesteps between the writing of data
into restart fields.
360 ninfo Number of timesteps between print of information
to standard output.
T ldefout Switch to create a new output NetCDF file(s).
60 nHIS Number of timesteps between the writing fields
into history file.
1 nQCK Number of timesteps between the writing fields
into quicksave file.
0.0000E+00 nl_visc4 NLM Horizontal, biharmonic mixing coefficient
(m4/s) for momentum.
F LuvSponge Turning OFF sponge on horizontal momentum.
F LtracerSponge(01) Turning OFF sponge on tracer 01: temp
1.0000E-06 Akt_bak(01) Background vertical mixing coefficient (m2/s)
for tracer 01: temp
1.0000E+00 Akv_bak Background vertical mixing coefficient (m2/s)
for momentum.
2.6500E-04 rdrg Linear bottom drag coefficient (m/s).
3.0000E-03 rdrg2 Quadratic bottom drag coefficient.
2.0000E-02 Zob Bottom roughness (m).
12 levsfrc Deepest level to apply surface stress as a
bodyforce.
1 levbfrc Shallowest level to apply bottom stress as a
bodyforce.
2 Vtransform S-coordinate transformation equation.
4 Vstretching S-coordinate stretching function.
8.0000E+00 theta_s S-coordinate surface control parameter.
4.0000E+00 theta_b S-coordinate bottom control parameter.
20.000 Tcline S-coordinate surface/bottom layer width (m) used
in vertical coordinate stretching.
1025.000 rho0 Mean density (kg/m3) for Boussinesq approximation.
18485.000 dstart Time-stamp assigned to model initialization (days).
18485.000 tide_start Reference time origin for tidal forcing (days).
755666.00 time_ref Reference time for units attribute (yyyymmdd.dd)
5.0000E+01 Tnudg(01) Nudging/relaxation time scale (days)
for tracer 01: temp
0.0000E+00 Znudg Nudging/relaxation time scale (days)
for free-surface.
0.0000E+00 M2nudg Nudging/relaxation time scale (days)
for 2D momentum.
0.0000E+00 M3nudg Nudging/relaxation time scale (days)
for 3D momentum.
0.0000E+00 obcfac Factor between passive and active
open boundary conditions.
F VolCons(1) NLM western edge boundary volume conservation.
F VolCons(2) NLM southern edge boundary volume conservation.
F VolCons(3) NLM eastern edge boundary volume conservation.
F VolCons(4) NLM northern edge boundary volume conservation.
5.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.
1028.000 R0 Background density (kg/m3) used in linear Equation
of State.
1.0000E-04 Tcoef Thermal expansion coefficient (1/Celsius).
0.0000E+00 Scoef Saline contraction coefficient (1/PSU).
1.000 gamma2 Slipperiness variable: free-slip (1.0) or
no-slip (-1.0).
F LuvSrc Turning OFF momentum point Sources/Sinks.
F LwSrc Turning OFF volume influx point Sources/Sinks.
F LtracerSrc(01) Turning OFF point Sources/Sinks on tracer 01: temp
F LsshCLM Turning OFF processing of SSH climatology.
F Lm2CLM Turning OFF processing of 2D momentum climatology.
F Lm3CLM Turning OFF processing of 3D momentum climatology.
F LtracerCLM(01) Turning OFF processing of climatology tracer 01: temp
F LnudgeM2CLM Turning OFF nudging of 2D momentum climatology.
F LnudgeM3CLM Turning OFF nudging of 3D momentum climatology.
F LnudgeTCLM(01) Turning OFF nudging of climatology tracer 01: temp
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(idDano) Write out density anomaly.
T Qout(idFsur) Write out free-surface.
T Qout(idUbar) Write out 2D U-momentum component.
T Qout(idVbar) Write out 2D V-momentum component.
T Qout(idu2dE) Write out 2D U-eastward at RHO-points.
T Qout(idv2dN) Write out 2D V-northward at RHO-points.
T Qout(idUsur) Write out surface U-momentum component.
T Qout(idVsur) Write out surface V-momentum component.
T Qout(idsurT) Write out surface tracer 01: temp_sur
Output/Input Files:
Output Restart File: Alderney_roms_rst.nc
Output History File: Alderney_roms_his.nc
Input Grid File: /home/sbasak08/roms/Projects/alderney_race/ROMS_alderney_z_test.nc
INP_PAR:FIND_FILE - empty file name string for standard input script KeyWord: ININAME
Found Error: 05 Line: 428 Source: ROMS/Utility/inp_decode.F, find_file
READ_PHYPAR - Grid 01, could not find input file: Oops unassigned file name. Check standard input script...
Found Error: 04 Line: 6375 Source: ROMS/Utility/read_phypar.F
Found Error: 04 Line: 191 Source: ROMS/Utility/inp_par.F
Found Error: 04 Line: 115 Source: ROMS/Drivers/nl_ocean.h, ROMS_initialize
Elapsed wall CPU time for each process (seconds):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dynamic and Automatic memory (MB) usage for Grid 01: 300x150x15 tiling: 1x4
tile Dynamic Automatic USAGE
0 0.99 11.75 12.75
1 0.00 11.75 11.75
2 0.00 11.75 11.75
3 0.00 11.75 11.75
TOTAL 0.99 47.01 48.00
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ROMS/TOMS - Output NetCDF summary for Grid 01:
Found Error: 04 Line: 361 Source: ROMS/Utility/close_io.F, close_out
ROMS/TOMS - I/O error ............... exit_flag: 4
ERROR: I/O related problem.
ERROR STOP
Error termination. Backtrace:
#0 0x7faf38090d01 in ???
#1 0x7faf38091849 in ???
#2 0x7faf38092f77 in ???
#3 0x7faf3c177462 in ocean
at /home/sbasak08/roms/Projects/alderney_race/Build_romsG/master.f90:101
#4 0x7faf3c1774bb in main
at /home/sbasak08/roms/Projects/alderney_race/Build_romsG/master.f90:50
I am unable to understand the error what might be causing this and I need some serious help.
Any help from anyone is extremely appreciated by me.
Kind regards
-Neel