error about'couldnt find input file'
error about'couldnt find input file'
hi everyone,
I am a new leaner of Roms.I run the oceanM after,and I got the problem as flow:
Output/Input Files:
Output Restart File: ./SCS_results/SCS_rst.nc
Prefix for History Files: ./SCS_results/SCS_his
Output Averages File: ./SCS_results/SCS_avg.nc
Input Grid File: ./SCS_forcing/SCS_BIG-grd.nc
Input Nonlinear Initial File: ./SCS_forcing/SCS_TIDE28-init.nc
READ_PHYPAR - could not find input file: ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
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.
Job /public/lsf/7.0/linux2.6-glibc2.3-x86_64/bin/openmpi_wrapper ./oceanM ./ocean_SCS.in
anyone has ever got the same problem?
Any suggestions will be appreciated.
I am a new leaner of Roms.I run the oceanM after,and I got the problem as flow:
Output/Input Files:
Output Restart File: ./SCS_results/SCS_rst.nc
Prefix for History Files: ./SCS_results/SCS_his
Output Averages File: ./SCS_results/SCS_avg.nc
Input Grid File: ./SCS_forcing/SCS_BIG-grd.nc
Input Nonlinear Initial File: ./SCS_forcing/SCS_TIDE28-init.nc
READ_PHYPAR - could not find input file: ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
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.
Job /public/lsf/7.0/linux2.6-glibc2.3-x86_64/bin/openmpi_wrapper ./oceanM ./ocean_SCS.in
anyone has ever got the same problem?
Any suggestions will be appreciated.
Re: error about'couldnt find input file'
The problem is in your ocean_SCS.in file. After listing the grid file, my job output lists the forcing files. What do you have for NFFILES? Did you keep the FRCNAME section? It's good to have NFFILES at least 1 and to have something for FRCNAME. There are times when ROMS wants a field from the forcing file even when you don't expect that and the error messages make more sense if you keep FRCNAME. Pointing to an existing file will trigger messages more like "can't file variable stflx in file myfile" (one hopes).
I hope you are trying to run the forward model before taking on the adjoint. Why is this message in the adjoint section?
I hope you are trying to run the forward model before taking on the adjoint. Why is this message in the adjoint section?
Re: error about'couldnt find input file'
hi kate,kate wrote:The problem is in your ocean_SCS.in file. After listing the grid file, my job output lists the forcing files. What do you have for NFFILES? Did you keep the FRCNAME section? It's good to have NFFILES at least 1 and to have something for FRCNAME. There are times when ROMS wants a field from the forcing file even when you don't expect that and the error messages make more sense if you keep FRCNAME. Pointing to an existing file will trigger messages more like "can't file variable stflx in file myfile" (one hopes).
I hope you are trying to run the forward model before taking on the adjoint. Why is this message in the adjoint section?
thanks for your reply.
I have
NFFILES == 1
FRCNAME == ./SCS_forcing/SCS_TIDE28-forc.nc
as NFFILES.
I tried to run the case by the old version(2008) of Roms,and it could run well. But the new version(2015) still doesn't work.Could you give me some more suggestions? The attchment is my ocean_SCS.in file.
Thanks again for your help.
- Attachments
-
- ocean_SCS.in
- (106.47 KiB) Downloaded 347 times
Re: error about'couldnt find input file'
You have:
Try getting rid of the comment after the filename.
Also, the date on your ocean.in file is 2013. You need to use a 2015 ocean.in with a 2015 ROMS. Your ocean.in has NBCFILES, which isn't in the trunk ROMS - are you using trunk ROMS?
Code: Select all
FRCNAME == ./SCS_forcing/SCS_TIDE28-forc.nc ! forcing file 1, grid 1
Also, the date on your ocean.in file is 2013. You need to use a 2015 ocean.in with a 2015 ROMS. Your ocean.in has NBCFILES, which isn't in the trunk ROMS - are you using trunk ROMS?
Re: error about'couldnt find input file'
Hi kate,kate wrote:You have:Try getting rid of the comment after the filename.Code: Select all
FRCNAME == ./SCS_forcing/SCS_TIDE28-forc.nc
Also, the date on your ocean.in file is 2013. You need to use a 2015 ocean.in with a 2015 ROMS. Your ocean.in has NBCFILES, which isn't in the trunk ROMS - are you using trunk ROMS?
I deleted the comment '! forcing file 1, grid 1',and I I modified the newer ocean_SCS.in(the attachment).but it still doesn't work.
I got the code by 'svn checkout --username bruce https://www.myroms.org/svn/src/trunk src'. Is it a trunk version?
Re: error about'couldnt find input file'
Yes, that is the trunk version of the code.
Are you still getting the same error? Do you have a file listed for each filename in an unmodified ocean.in or did you comment some out?
Are you still getting the same error? Do you have a file listed for each filename in an unmodified ocean.in or did you comment some out?
Re: error about'couldnt find input file'
Yes,the error is still the same.I am sorry I forgot to attach my new ocean.in file.I cant find the file which listed the each filename in the ocean.in file. And I am puzzled that I could run the application upwelling well.kate wrote:Yes, that is the trunk version of the code.
Are you still getting the same error? Do you have a file listed for each filename in an unmodified ocean.in or did you comment some out?
- Attachments
-
- ocean_SCS.in
- (117.5 KiB) Downloaded 356 times
Re: error about'couldnt find input file'
Hi kate,WY0116 wrote:Yes,the error is still the same.I am sorry I forgot to attach my new ocean.in file.I cant find the file which listed the each filename in the ocean.in file. And I am puzzled that I could run the application upwelling well.kate wrote:Yes, that is the trunk version of the code.
Are you still getting the same error? Do you have a file listed for each filename in an unmodified ocean.in or did you comment some out?
I use the 'svn update -r 700'just now.I guess the version has been downgraded to 2013.And it could run without error(I didnt modify the ocean.in file).I dont know the difference between the 2015 version and the old versions.While the 2015 version still has the error.
Re: error about'couldnt find input file'
I think your problem is this combo:
You are saying that you want river sources for the tracers and yet you commented out the river filename.
Code: Select all
LtracerSrc == T T
Code: Select all
! SSFNAME == ocean_rivers.nc
Re: error about'couldnt find input file'
kate wrote:I think your problem is this combo:Code: Select all
LtracerSrc == T T
You are saying that you want river sources for the tracers and yet you commented out the river filename.Code: Select all
! SSFNAME == ocean_rivers.nc
Hi kate,
I tried to change the LtracerSrc= F F and the errors occured as follow:
CHECKDEFS - cannot use obsolete option: SPLINES
See following trac ticket for details:
https://www.myroms.org/projects/src/ticket/681
please change header file accordingly.
Elapsed CPU time (seconds):
ROMS/TOMS - Output NetCDF summary for Grid 01:
ROMS/TOMS - Configuration error ..... exit_flag: 5
ERROR: Illegal model configuration.
Then my fellow shared his Rom3.7 to me. While with the same files(.in file and .h file),it could work. It makes me confused.
Re: error about'couldnt find input file'
Oh, yeah, SPLINES. That changed pretty recently. It has become three options:
Code: Select all
SPLINES_VVISC use if splines reconstruction of vertical viscosity
SPLINES_VDIFF use if splines reconstruction of vertical diffusion
RI_SPLINES use if splines reconstruction for vertical sheer