I/O error

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
19zsheng
Posts: 6
Joined: Mon Jan 18, 2021 5:14 pm
Location: STU

I/O error

#1 Unread post by 19zsheng »

hello
I had met an error, the error is as follows.

Model Input Parameters: ROMS/TOMS version 3.7
Tuesday - January 26, 2021 - 5:02:23 PM
-----------------------------------------------------------------------------

TWS MODEL

Operating system : Linux
CPU/hardware : x86_64
Compiler system : gfortran
Compiler command : /opt/mpich/bin/mpif90
Compiler flags : -frepack-arrays -O3 -ffast-math -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none

Input Script :

SVN Root URL : https://www.myroms.org/svn/src/trunk
SVN Revision :

Local Root : /home/19zsheng/sz_roms
Header Dir : /home/19zsheng/sz_roms
Header file : tws.h
Analytical Dir: /home/19zsheng/sz_roms/User/Functionals

Resolution, Grid 01: 0418x0382x025, Parallel Nodes: 32, Tiling: 004x008


Physical Parameters, Grid: 01
=============================

14400 ntimes Number of timesteps for 3-D equations.
60.000 dt Timestep size (s) for 3-D equations.
10 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.
14400 nRST Number of timesteps between the writing of data
into restart fields.
1 ninfo Number of timesteps between print of information
to standard output.
T ldefout Switch to create a new output NetCDF file(s).
1440 nHIS Number of timesteps between the writing fields
into history file.
0 ntsAVG Starting timestep for the accumulation of output
time-averaged data.
1440 nAVG Number of timesteps between the writing of
time-averaged data into averages file.
1.2000E+02 nl_tnu2(01) NLM Horizontal, harmonic mixing coefficient
(m2/s) for tracer 01: temp
5.0000E+00 nl_tnu2(02) NLM Horizontal, harmonic mixing coefficient
(m2/s) for tracer 02: salt
5.0000E+02 nl_visc2 NLM Horizontal, harmonic mixing coefficient
(m2/s) for momentum.
F LuvSponge Turning OFF sponge on horizontal momentum.
F LtracerSponge(01) Turning OFF sponge on tracer 01: temp
F LtracerSponge(02) Turning OFF sponge on tracer 02: salt
5.0000E-05 Akt_bak(01) Background vertical mixing coefficient (m2/s)
for tracer 01: temp
5.0000E-05 Akt_bak(02) Background vertical mixing coefficient (m2/s)
for tracer 02: salt
2.0000E-04 Akv_bak Background vertical mixing coefficient (m2/s)
for momentum.
3.0000E-04 rdrg Linear bottom drag coefficient (m/s).
2.5000E-03 rdrg2 Quadratic bottom drag coefficient.
2.0000E-02 Zob Bottom roughness (m).
1 lmd_Jwt Jerlov water type.
2 Vtransform S-coordinate transformation equation.
4 Vstretching S-coordinate stretching function.
3.0000E+00 theta_s S-coordinate surface control parameter.
4.0000E-01 theta_b S-coordinate bottom control parameter.
25.000 Tcline S-coordinate surface/bottom layer width (m) used
in vertical coordinate stretching.
1025.000 rho0 Mean density (kg/m3) for Boussinesq approximation.
43130.000 dstart Time-stamp assigned to model initialization (days).
0.000 tide_start Reference time origin for tidal forcing (days).
19000101.00 time_ref Reference time for units attribute (yyyymmdd.dd)
1.0000E+00 Tnudg(01) Nudging/relaxation time scale (days)
for tracer 01: temp
1.0000E+00 Tnudg(02) Nudging/relaxation time scale (days)
for tracer 02: salt
3.0000E+01 Znudg Nudging/relaxation time scale (days)
for free-surface.
3.0000E+01 M2nudg Nudging/relaxation time scale (days)
for 2D momentum.
3.0000E+01 M3nudg Nudging/relaxation time scale (days)
for 3D momentum.
1.2000E+02 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.
10.000 T0 Background potential temperature (C) constant.
35.000 S0 Background salinity (PSU) constant.
1.000 gamma2 Slipperiness variable: free-slip (1.0) or
no-slip (-1.0).
T LuvSrc Turning ON momentum point Sources/Sinks.
F LwSrc Turning OFF volume influx point Sources/Sinks.
T LtracerSrc(01) Turning ON point Sources/Sinks on tracer 01: temp
T LtracerSrc(02) Turning ON point Sources/Sinks on tracer 02: salt
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 LtracerCLM(02) Turning OFF processing of climatology tracer 02: salt
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
F LnudgeTCLM(02) Turning OFF nudging of climatology tracer 02: salt
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(idTvar) Write out tracer 01: temp
T Hout(idTvar) Write out tracer 02: salt
T Hout(idDano) Write out density anomaly.
T Hout(idVvis) Write out vertical viscosity: AKv.
T Hout(idSdif) Write out vertical diffusion: AKt(isalt).

T Aout(idFsur) Write out averaged free-surface.
T Aout(idUbar) Write out averaged 2D U-momentum component.
T Aout(idVbar) Write out averaged 2D V-momentum component.
T Aout(idUvel) Write out averaged 3D U-momentum component.
T Aout(idVvel) Write out averaged 3D V-momentum component.
T Aout(idWvel) Write out averaged W-momentum component.
T Aout(idTvar) Write out averaged tracer 01: temp
T Aout(idTvar) Write out averaged tracer 02: salt
T Aout(idDano) Write out averaged density anomaly.
T Aout(idVvis) Write out averaged vertical viscosity: AKv.
T Aout(idSdif) Write out averaged vertical diffusion: AKt(isalt).
T Aout(id3dRV) Write out averaged 3D relative vorticity.

Output/Input Files:

Output Restart File: ../res1/ocean_rst.nc
Output History File: ../res1/ocean_his.nc
Output Averages File: ../res1/ocean_avg.nc
Input Grid File: Data/ROMS/Initial/sz_grid.nc
Input Nonlinear Initial File: Data/ROMS/Initial/sz_ini_ECCO_Y2018M2.nc

READ_PHYPAR - could not find input file: |0~|ZCd/+.Dd/+/Dd/+ |G}ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

Elapsed CPU time (seconds):


ROMS/TOMS - Output NetCDF summary for Grid 01:

ROMS/TOMS - I/O error ............... exit_flag: 4


ERROR: I/O related problem.

I can't solve this mistake. I wish someone could help me.
Thank you!
Attachments
tws.in
(119.63 KiB) Downloaded 257 times
tws.h
(1.89 KiB) Downloaded 274 times

robertson
Site Admin
Posts: 227
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: I/O error

#2 Unread post by robertson »

When I open your .in and .h files my editor says they are "dos" format. However, from your log output it does not look like you are running on a windows system. Did you, by chance, edit these files in Windows? If your system has 'dos2unix' run that on any files you edited in Windows. If not you can try the following on all the relevant files:

perl -pi -e 's/\r\n/\n/g' <filename>

Note that both those commands are only to be run on text files not binary (NetCDF) files.

If that's not the issue then is it possible that some of your input NetCDF files have non-ASCII characters in the filename?

19zsheng
Posts: 6
Joined: Mon Jan 18, 2021 5:14 pm
Location: STU

Re: I/O error

#3 Unread post by 19zsheng »

First of all, thank you!
Strangely enough, when I was running on the South Sea server it was normal to copy to my own server and this error appeared. why?

robertson
Site Admin
Posts: 227
Joined: Wed Feb 26, 2003 3:12 pm
Location: IMCS, Rutgers University

Re: I/O error

#4 Unread post by robertson »

Maybe something was corrupted during transfer? What command(s) did you use to transfer to your own server? What operating system is "South Sea" and what operating system is your "own server"?

19zsheng
Posts: 6
Joined: Mon Jan 18, 2021 5:14 pm
Location: STU

Re: I/O error

#5 Unread post by 19zsheng »

Thanks again for your help.
When I set the parameters in the .in file as shown in the image below, my problem is solved, but I don't know why?
Attachments
1.png
1.png (13.93 KiB) Viewed 5151 times

Post Reply