run error

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
redhat007

run error

#1 Unread post by redhat007 »

I have run inlet test just for coarse grid and without coupling with swan . As you know all force files provided form analytically files. But in run step i face with error which say:
could not find input file: ocean_frc.nc

Code: Select all

 NFFILES == 1                          ! number of forcing files

     FRCNAME == ocean_frc.nc              ! forcing file 1, grid 1

Code: Select all

mpirun -np 1 ./coawstM ocean_inlet_test_ref5.in
 Process Information:

 Node #  0 (pid=    4277) is active.

 Model Input Parameters:  ROMS/TOMS version 3.4  
                          Wednesday - September 10, 2014 -  5:58:41 PM
 -----------------------------------------------------------------------------

 Inlet Test Case

 Operating system : Linux
 CPU/hardware     : i686
 Compiler system  : gfortran
 Compiler command : /usr/lib/mpich2/bin/mpif90
 Compiler flags   : -frepack-arrays -O3 -ffast-math -ffree-form -ffree-line-length-none -ffree-form -ffree-line-length-none

 Input Script  : ocean_inlet_test_ref5.in

 SVN Root URL  : 
 SVN Revision  : 791M

 Local Root    : /home/FF/CS_project/COAWST_791
 Header Dir    : /home/FF/CS_project/COAWST_791/CSsea_project/Refine/inlet_refin
 Header file   : inlet_test.h
 Analytical Dir: /home/FF/CS_project/COAWST_791/CSsea_project/Refine/inlet_refin

 Resolution, Grid 01: 0075x0070x008,  Parallel Nodes:   1,  Tiling: 001x001


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

        720  ntimes          Number of timesteps for 3-D equations.
     60.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.
        720  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).
         60  nHIS            Number of timesteps between the writing fields
                               into history file.
 1.0000E-03  nl_visc2        NLM Horizontal, harmonic mixing coefficient
                               (m2/s) for momentum.
 5.0000E-06  Akt_bak(01)     Background vertical mixing coefficient (m2/s)
                               for tracer 01: temp
 5.0000E-05  Akv_bak         Background vertical mixing coefficient (m2/s)
                               for momentum.
 5.0000E-06  Akk_bak         Background vertical mixing coefficient (m2/s)
                               for turbulent energy.
 5.0000E-06  Akp_bak         Background vertical mixing coefficient (m2/s)
                               for turbulent generic statistical field.
      3.000  gls_p           GLS stability exponent.
      1.500  gls_m           GLS turbulent kinetic energy exponent.
     -1.000  gls_n           GLS turbulent length scale exponent.
 7.6000E-06  gls_Kmin        GLS minimum value of turbulent kinetic energy.
 1.0000E-12  gls_Pmin        GLS minimum value of dissipation.
 5.4770E-01  gls_cmu0        GLS stability coefficient.
 1.4400E+00  gls_c1          GLS shear production coefficient.
 1.9200E+00  gls_c2          GLS dissipation coefficient.
-4.0000E-01  gls_c3m         GLS stable buoyancy production coefficient.
 1.0000E+00  gls_c3p         GLS unstable buoyancy production coefficient.
 1.0000E+00  gls_sigk        GLS constant Schmidt number for TKE.
 1.3000E+00  gls_sigp        GLS constant Schmidt number for PSI.
      0.000  charnok_alpha   Charnok factor for Zos calculation.
      0.000  zos_hsig_alpha  Factor for Zos calculation using Hsig(Awave).
      0.000  sz_alpha        Factor for Wave dissipation surface tke flux .
      0.000  crgban_cw       Factor for Craig/Banner surface tke flux.
 3.0000E-04  rdrg            Linear bottom drag coefficient (m/s).
 2.5000E-02  rdrg2           Quadratic bottom drag coefficient.
 1.5000E-02  Zob             Bottom roughness (m).
 5.0000E-01  Zos             Surface roughness (m).
          1  Vtransform      S-coordinate transformation equation.
          1  Vstretching     S-coordinate stretching function.
 1.0000E+00  theta_s         S-coordinate surface control parameter.
 1.0000E+00  theta_b         S-coordinate bottom  control parameter.
      0.000  Tcline          S-coordinate surface/bottom layer width (m) used
                               in vertical coordinate stretching.
   1025.000  rho0            Mean density (kg/m3) for Boussinesq approximation.
      0.000  dstart          Time-stamp assigned to model initialization (days).
       0.00  time_ref        Reference time for units attribute (yyyymmdd.dd)
 0.0000E+00  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.
     10.000  T0              Background potential temperature (C) constant.
     30.000  S0              Background salinity (PSU) constant.
   1027.000  R0              Background density (kg/m3) used in linear Equation
                               of State.
 1.7000E-04  Tcoef           Thermal expansion coefficient (1/Celsius).
 7.6000E-04  Scoef           Saline contraction coefficient (1/PSU).
      1.000  gamma2          Slipperiness variable: free-slip (1.0) or 
                                                    no-slip (-1.0).
          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(idUbms)    Write out bottom U-momentum stress.
          T  Hout(idVbms)    Write out bottom V-momentum stress.
          T  Hout(idUbrs)    Write out bottom U-current stress.
          T  Hout(idVbrs)    Write out bottom V-current stress.
          T  Hout(idUbws)    Write out wind-induced, bottom U-wave stress.
          T  Hout(idVbws)    Write out wind-induced, bottom V-wave stress.
          T  Hout(idUbcs)    Write out max wind + current, bottom U-wave stress.
          T  Hout(idVbcs)    Write out max wind + current, bottom V-wave stress.
          T  Hout(idUbot)    Write out bed wave orbital U-velocity.
          T  Hout(idVbot)    Write out bed wave orbital V-velocity.
          T  Hout(idUbur)    Write out bottom U-momentum above bed.
          T  Hout(idVbvr)    Write out bottom V-momentum above bed.
          T  Hout(idWpbt)    Write out wave bottom period.
          T  Hout(idWorb)    Write out wave bottom orbital velocity.
          T  Hout(idBott)    Write out bottom property 01: grain_diameter
          T  Hout(idBott)    Write out bottom property 02: grain_density
          T  Hout(idBott)    Write out bottom property 03: settling_vel
          T  Hout(idBott)    Write out bottom property 04: erosion_stress
          T  Hout(idBott)    Write out bottom property 05: ripple_length
          T  Hout(idBott)    Write out bottom property 06: ripple_height
          T  Hout(idBott)    Write out bottom property 07: bed_wave_amp
          T  Hout(idBott)    Write out bottom property 08: Zo_def
          T  Hout(idBott)    Write out bottom property 09: Zo_app
          T  Hout(idBott)    Write out bottom property 10: Zo_Nik

 Output/Input Files:

             Output Restart File:  ocean_rst_ref1.nc
             Output History File:  ocean_inlet_his_ref1.nc
                 Input Grid File:  inlet_test_grid.nc

 READ_PHYPAR - could not find input file:  ocean_frc.nc

 Elapsed CPU time (seconds):

 Node   #  0 CPU:       0.008
 Total:                 0.008

 Nonlinear model elapsed time profile:

                                              Total:         0.000    0.0000

 All percentages are with respect to total time =            0.008

 ROMS/TOMS - Output NetCDF summary for Grid 01:

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


 ERROR: I/O related problem.
and when change

Code: Select all

NFFILES == 1
to

Code: Select all

NFFILES ==
it face with other erro"

Code: Select all

unable to find requested variable: Dwave
               in file:

woud you please tell me what is the problem?

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: run error

#2 Unread post by jcwarner »

if you are running COAWST, please update to the latest version which now uses ROMS v 3.7

Model Input Parameters: ROMS/TOMS version 3.7
Wednesday - September 10, 2014 - 11:03:13 AM
-----------------------------------------------------------------------------
.....

If you are running COAWST and have specific issues with model coupling, please post them to
https://coawstmodel-trac.sourcerepo.com ... el_COAWST/
and login to post a ticket.

In general, the inlet_test is set up to run roms+swan. If you only run roms, then you need to
1) provide the wave data as ana functions
-- or --
2) turn off cpp options that need wave information.


thanks,
john

Post Reply