Hi,everyone,
I'm a newer for ROMS,When I'm starting compute ,I'm getting an error at the very beginning:
Quote:
READ_PHYPAR - could not find input file: ^@^@......^@
I have provided ana_initial ,*_grd.nc,*_tide.nc,and stations_*.in as input files, I'm wondering, what input file does it require,or how to modify *.h file ? I'm just want to compute the current!
any suggestions? - thanks
my *.h is such as:
#define UV_ADV
#define UV_COR
#define UV_LOGDRAG
#define DJ_GRADPS
#define TS_MPDATA
#define TS_DIF2
#define MIX_S_UV
#define MIX_S_TS
#define NONLIN_EOS
#define SALINIY
#define SOLVE3D
#define STATIONS
#define CURVGRID
#define WESTERN_WALL
#undef NORTHERN_WALL
#define SOUTHERN_WALL
#define RAMP_TIDES
#define SSH_TIDES
#ifdef SSH_TIDES
#define EAST_FSCHAPMAN
#define NORTH_FSCHAPMAN
#undef ANA_FSOBC
#else
#define EAST_FSGRADIENT
#define NORTH_FSGRADIENT
#endif
#define UV_TIDES
#ifdef UV_TIDES
#define EAST_M2FLATHER
#define NORTH_M2FLATHER
#undef ANA_M2OBC
#else
# define EAST_M2RADIATION
#endif
#define ANA_SMFLUX
#define ANA_SSFLUX
#define ANA_BSFLUX
#define ANA_BPFLUX
#define ANA_BTFLUX
#define ANA_SPFLUX
#define ANA_INITIAL
#undef ANA_STFLUX
#define ANA_SRFLUX
#define GLS_MIXING
#if defined GLS_MIXING || defined MY25_MIXING
# define KANTHA_CLAYSON
# define N2S2_HORAVG
#endif
READ_PHYPAR - could not find input file: ^@^@......^@
Re: READ_PHYPAR - could not find input file: ^@^@......^@
It is asking about the ocean.in file which is provided on the command line when running ROMS. See the bottom of this page: https://www.myroms.org/wiki/index.php/Getting_Started
-
- Posts: 26
- Joined: Sat Mar 17, 2012 4:54 pm
- Location: CNR - IAMC
- Contact:
Re: READ_PHYPAR - could not find input file: ^@^@......^@
First of all, sorry for catch again this very old post.
In any case: this is exactly the error I have just now.
I'm just trying to port my test-case on a new pc, just copied *.in, *.h and build.sh and installed new version of roms from svn.
Upwelling compile and execute correctly, but when I try to execute my own test this error appear in the reporting page.
Note that if I run on screen (./oceans < ocean.in ) those ^@^@^@ do not appear, and the system just print:
READ_PHYPAR - could not find input file:
with no file indicated.
THose symbols just appear if I put the printing in a log
./oceans < ocean.in > log&
It seems that the system check for a non-existing file with no name. This is after grid and initial conditions files are found and before checking existence of boundaries. It is like there was somewhere hidden characters i cannot find. THe error persists in this implementation even if I remove every nc input, excepts the grid. It could be the grid file (which works on the other machine and version)?
*****SOLVED******
thanks to Ilaria, it was a matter of old version of the *.in file
*****************************************************************
In any case: this is exactly the error I have just now.
I'm just trying to port my test-case on a new pc, just copied *.in, *.h and build.sh and installed new version of roms from svn.
Upwelling compile and execute correctly, but when I try to execute my own test this error appear in the reporting page.
Note that if I run on screen (./oceans < ocean.in ) those ^@^@^@ do not appear, and the system just print:
READ_PHYPAR - could not find input file:
with no file indicated.
THose symbols just appear if I put the printing in a log
./oceans < ocean.in > log&
It seems that the system check for a non-existing file with no name. This is after grid and initial conditions files are found and before checking existence of boundaries. It is like there was somewhere hidden characters i cannot find. THe error persists in this implementation even if I remove every nc input, excepts the grid. It could be the grid file (which works on the other machine and version)?
*****SOLVED******
thanks to Ilaria, it was a matter of old version of the *.in file
*****************************************************************