Problem with varinfo.dat

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

Moderators: arango, robertson

Post Reply
Message
Author
angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Problem with varinfo.dat

#1 Unread post by angelolemos »

Hi people,

I ran correctly the test case UPWELLING, but now I want to do the same thing with the river_plume1 test case.
I followed the same steps, I copied the files varinfo.dat and ocean_riverplume1.in from src/ROMS/External to my folder /projects/river_test1.
I copied the file riverplume.h from src/ROMS/Include, too.

I followed the steps from https://www.myroms.org/wiki/index.php/ROMS_UNSW2008

I compiled the file ./build.bash, it's ok.
But when I typed the command ./oceanS < ocean_riverplume1.in, the result was:

Process Information:

Thread # 0 (pid= 1965) is active.

Model Input Parameters: ROMS/TOMS version 3.2
Tuesday - February 9, 2010 - 2:37:22 PM
-----------------------------------------------------------------------------

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


I don't know why this result appeared, because I did the same thing with the upwelling test case. The file varinfo.dat is the same and it's in the same folder (/src/ROMS/External)

Someone can help me?

Thanks.

ocecept
Posts: 42
Joined: Tue Jan 08, 2008 3:57 pm
Location: Universidade Federal do Ceará
Contact:

Re: Problem with varinfo.dat

#2 Unread post by ocecept »

Hi Angelo;

In your configuration the model can't find the varinfo.dat file. You need to tell ROMS where to find this file.

Have you changed the path (VARNAME) to your varinfo.dat into your *.in file?

In my case I had to change VARNAME to

VARNAME = /mnt/msa20/homes/teixec01/Oceanography/CARLOS/myroms/Projects/SG/varinfo.dat

because I have a modified varinfo.dat. Most of the time you do not need to change the entries in the varinfo.dat and you don't need to copy it to your projects folder. You can use the one at src/ROMS/External, but you still need to tell ROMS the full path to src/ROMS/External.

If I want to do that, I would have to change VARNAME to

VARNAME=/mnt/msa20/homes/teixec01/Oceanography/CARLOS/myroms/External/varinfo.dat


Cheers;

Carlos Teixeira

Post Reply