After everything done, I ran the test case. It showed information as follow and stopped....
Process Information:
Thread # 0 (pid= 0) is active.
Model Input Parameters: ROMS/TOMS version 3.0
Wednesday - September 17, 2008 - 9:35:44 PM
--------------------------------------------------------------------------
MOD_NCPARAM - Unable to open variable information file:
ROMS/External/varinfo.dat
Default file is located in source directory.
How to solve such problems??
Help me~~~
Problems Running Upwelling
Re: Problems Running Upwelling
Yeah~~ I know why...thanks all
Re: Problems Running Upwelling
Can you tell me why? Thankspengjia wrote:Yeah~~ I know why...thanks all
Re: Problems Running Upwelling
I'd like to know why too!
Had the same "Unable to open..." problem.
Thanx!
Had the same "Unable to open..." problem.
Thanx!
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: Problems Running Upwelling
You need to read carefully the message that ROMS is giving you:
ROMS is unable to open file ROMS/External/varinfo.dat in your input script ocean_upwelling.in. You need to provide the full path for file varinfo.dat. Is that simple This is well documented in the wiki,MOD_NCPARAM - Unable to open variable information file:
ROMS/External/varinfo.dat
Re: Problems Running Upwelling
Yeah... I actually got that like 15 min after posting. Wish I could remove the post.
Anyway, in case someone else finds the same problem, I just edited ocean_upwelling.in: used "~/Projects/upwelling/varinfo.dat" instead of "ROMS/External/varinfo.dat".
Thanx arango and I'm sorry.
Anyway, in case someone else finds the same problem, I just edited ocean_upwelling.in: used "~/Projects/upwelling/varinfo.dat" instead of "ROMS/External/varinfo.dat".
Thanx arango and I'm sorry.
Re: Problems Running Upwelling
Dear all,
After a non-error compilling:
ROMS/Bin/cpp_clean /Users/leo/ROMS/PROJECTS/Build/master.f90
cd /Users/leo/ROMS/PROJECTS/Build; /usr/local/bin/gfortran -c -frepack-arrays -O3 -ftree-vectorize -msse3 -O3 -ffast-math master.f90
/usr/local/bin/gfortran -frepack-arrays -O3 -ftree-vectorize -msse3 -O3 -ffast-math /Users/leo/ROMS/PROJECTS/Build/esmf_roms.o /Users/leo/ROMS/PROJECTS/Build/master.o /Users/leo/ROMS/PROJECTS/Build/ocean_control.o /Users/leo/ROMS/PROJECTS/Build/ocean_coupler.o /Users/leo/ROMS/PROJECTS/Build/propagator.o /Users/leo/ROMS/PROJECTS/Build/roms_export.o /Users/leo/ROMS/PROJECTS/Build/roms_import.o -o /Users/leo/ROMS/PROJECTS/oceanS /Users/leo/ROMS/PROJECTS/Build/libNLM.a /Users/leo/ROMS/PROJECTS/Build/libNLM_bio.a /Users/leo/ROMS/PROJECTS/Build/libNLM_sed.a /Users/leo/ROMS/PROJECTS/Build/libANA.a /Users/leo/ROMS/PROJECTS/Build/libUTIL.a /Users/leo/ROMS/PROJECTS/Build/libMODS.a -L/Users/leo/Documents/UTIL/netcdf_lib/lib -lnetcdf -L/Users/leo/Documents/UTIL/netcdf_lib/lib -lhdf5_hl -lhdf5 -lz -lcurl
rm -f -r /Users/leo/make_macros.mk
I got the same message:
MOD_NCPARAM - Unable to open variable information file:
Default file is located in source directory.
But my ocean_upwelling.in is set like this:
! Input variable information file name. This file needs to be processed
! first so all information arrays can be initialized properly.
VARNAME = /Users/leo/ROMS/ROMS/External/varinfo.dat
Any suggestion?
Thank you very much
After a non-error compilling:
ROMS/Bin/cpp_clean /Users/leo/ROMS/PROJECTS/Build/master.f90
cd /Users/leo/ROMS/PROJECTS/Build; /usr/local/bin/gfortran -c -frepack-arrays -O3 -ftree-vectorize -msse3 -O3 -ffast-math master.f90
/usr/local/bin/gfortran -frepack-arrays -O3 -ftree-vectorize -msse3 -O3 -ffast-math /Users/leo/ROMS/PROJECTS/Build/esmf_roms.o /Users/leo/ROMS/PROJECTS/Build/master.o /Users/leo/ROMS/PROJECTS/Build/ocean_control.o /Users/leo/ROMS/PROJECTS/Build/ocean_coupler.o /Users/leo/ROMS/PROJECTS/Build/propagator.o /Users/leo/ROMS/PROJECTS/Build/roms_export.o /Users/leo/ROMS/PROJECTS/Build/roms_import.o -o /Users/leo/ROMS/PROJECTS/oceanS /Users/leo/ROMS/PROJECTS/Build/libNLM.a /Users/leo/ROMS/PROJECTS/Build/libNLM_bio.a /Users/leo/ROMS/PROJECTS/Build/libNLM_sed.a /Users/leo/ROMS/PROJECTS/Build/libANA.a /Users/leo/ROMS/PROJECTS/Build/libUTIL.a /Users/leo/ROMS/PROJECTS/Build/libMODS.a -L/Users/leo/Documents/UTIL/netcdf_lib/lib -lnetcdf -L/Users/leo/Documents/UTIL/netcdf_lib/lib -lhdf5_hl -lhdf5 -lz -lcurl
rm -f -r /Users/leo/make_macros.mk
I got the same message:
MOD_NCPARAM - Unable to open variable information file:
Default file is located in source directory.
But my ocean_upwelling.in is set like this:
! Input variable information file name. This file needs to be processed
! first so all information arrays can be initialized properly.
VARNAME = /Users/leo/ROMS/ROMS/External/varinfo.dat
Any suggestion?
Thank you very much
Re: Problems Running Upwelling
I had the same problem but solved it by copying varinfo.dat to ./Projects/Upwelling directory and editing the ./Projects/Upwelling/ocean_upwelling.in file with the fully qualified path name to the copy of varinfo.dat. The ~ notation did not work.
! VARNAME = ROMS/External/varinfo.dat
VARNAME = /Users/hellyj/src/ROMS/Projects/Upwelling/varinfo.dat
! VARNAME = ROMS/External/varinfo.dat
VARNAME = /Users/hellyj/src/ROMS/Projects/Upwelling/varinfo.dat