Running ROMS error

Discussion of how to use ROMS on different regional and basin scale applications.

Moderators: arango, robertson

Post Reply
Message
Author
michaelkwamebiney
Posts: 5
Joined: Wed Aug 01, 2018 4:04 pm
Location: University of Ghana

Running ROMS error

#1 Post by michaelkwamebiney » Fri Sep 14, 2018 10:47 am

After successfully compiling the upwelling test case i got an executable file "oceanS".
However i get an error everytime i try running it.
This is the command i used to run the oceanS executable
./oceanS <ocean_upwelling.in

And this is the error i keep on getting

MOD_NCPARAM- Unable to open variable information file:
${MY_ROOT_DIR}/trunk/ROMS/External/varinfo.dat
Default file is located in source directory.

NB: I have changed the path in the input file to the exact location of the varinfo.dat file but the error still remains

User avatar
wilkin
Posts: 503
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Running ROMS error

#2 Post by wilkin » Sat Sep 15, 2018 12:28 pm

You are probably specifying the path incorrectly.

Just try copying varinfo.dat to the directory where you have oceanS and ocean_upwelling.in, and remove any path information to the file in ocean_upwelling.in, i.e. have:

VARNAME = varinfo.dat
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

michaelkwamebiney
Posts: 5
Joined: Wed Aug 01, 2018 4:04 pm
Location: University of Ghana

Re: Running ROMS error

#3 Post by michaelkwamebiney » Sun Sep 16, 2018 12:12 pm

Thank you very much. It worked. Im grateful

Post Reply