Problems Running Upwelling

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
pengjia
Posts: 10
Joined: Thu Aug 21, 2008 4:24 pm
Location: UMCP

Problems Running Upwelling

#1 Unread post by pengjia »

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~~~
:)

pengjia
Posts: 10
Joined: Thu Aug 21, 2008 4:24 pm
Location: UMCP

Re: Problems Running Upwelling

#2 Unread post by pengjia »

Yeah~~ I know why...thanks all

Gengbx

Re: Problems Running Upwelling

#3 Unread post by Gengbx »

pengjia wrote:Yeah~~ I know why...thanks all
Can you tell me why? Thanks

mtonelli
Posts: 3
Joined: Mon Nov 09, 2009 6:24 pm
Location: University of Sao Paulo

Re: Problems Running Upwelling

#4 Unread post by mtonelli »

I'd like to know why too! :)

Had the same "Unable to open..." problem.

Thanx!

User avatar
arango
Site Admin
Posts: 1367
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Problems Running Upwelling

#5 Unread post by arango »

You need to read carefully the message that ROMS is giving you:
MOD_NCPARAM - Unable to open variable information file:
ROMS/External/varinfo.dat
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,

mtonelli
Posts: 3
Joined: Mon Nov 09, 2009 6:24 pm
Location: University of Sao Paulo

Re: Problems Running Upwelling

#6 Unread post by mtonelli »

Yeah... I actually got that like 15 min after posting. Wish I could remove the post. :oops:

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.

leommcruz
Posts: 5
Joined: Wed Jun 09, 2010 5:47 am
Location: PROOCEANO

Re: Problems Running Upwelling

#7 Unread post by leommcruz »

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

hellyj

Re: Problems Running Upwelling

#8 Unread post by hellyj »

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

Post Reply