On page 79 of the <DRAFT Technical Manual for a Coupled Sea-Ice/Ocean Circulation Model (Version 4)>, there is a paragraph written as the following:
++++++++++++++++++++++++++++++++++++++++++
7.1.2 Case-specific Include File
... ... ... ...
Note that any undefined variable need not be mentioned.
Also note that if you copy a predefined application from ROMS/Include as a template for
your application, you must rename it. If you don’t change the name, ROMS will use the one in
ROMS/Include and your file will be ignored during the build procedure
++++++++++++++++++++++++++++++++++++++++++
So, what does it mean by saying "you must rename it"?
For instance, I put the '/trunck' under 'roms/' where I created my 'projects/upwelling', namely
roms/trunk
roms/projects/upwelling
Then, I cp the 'upwelling.h', 'ocean_upwelling.in' and 'varinfo.dat' files to 'roms/projects/upwelling'
cd projects/upwelling
cp ../../trunk/ROMS/External/ocean_upwelling.in .
cp ../../trunk/ROMS/External/varinfo.dat .
cp ../../trunk/ROMS/Include/upwelling.h .
According to the ug, I renamed the upwelling.h file into 'upwel.h', and also modified the value of ROMS_APPLICATION in build.bash. However, errors occured during the complication:
______________________________________
[kee@log04 upwelling]$ ./build.bash > a.log
makefile:238: INCLUDING FILE /home/kee/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy rooted at '/home/kee/roms'.
Please upgrade your Subversion client to use this working copy.
makefile:234: INCLUDING FILE /home/kee/roms/projects/upwelling/Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy rooted at '/home/kee/roms'.
Please upgrade your Subversion client to use this working copy.
analytical.f90:392.14:
ana_grid.h: no values provided for Xsize, Esize, depth, f0, beta.
1
Error: 'ana_grid' at (1) is not a variable
analytical.f90:1301.14:
ana_vmix.h: no values provided for Akv.
1
Error: 'ana_vmix' at (1) is not a variable
analytical.f90:1315.14:
ana_vmix.h: no values provided for Akt.
1
Error: 'ana_vmix' at (1) is not a variable
make: *** [/home/kee/roms/projects/upwelling/Build/analytical.o] Error 1
______________________________________
while, when I compiled ROMS without renaming the upwelling.h file, things went well.
So can anyone tell me how to Installing and Running ROMS correctly ?
if to rename the upwelling.h file, How can I do?
I am newer, waiting for the reply.
thank you.
zhao
A question about the Userguide
- arango
- Site Admin
- Posts: 1356
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: A question about the Userguide
These instructions are kind of old. It takes a lot of time to update those manuals. The web-based documentation is much easier to update and maintain.
We have all the ROMS test cases in the test case repository. You don't have to copy or rename anything. You just need to download the test cases repository:
svn checkout https://www.myroms.org/svn/src/test MyTest
See
WikiROMS for more information. The information in WikiROMS is more recent than any other manuals.
Nowadays, ROMS has evolved to have the source code and applications completely separated. Pay attention to what the build.sh or build.bash is doing in any of the test cases in the above repository.
We have all the ROMS test cases in the test case repository. You don't have to copy or rename anything. You just need to download the test cases repository:
svn checkout https://www.myroms.org/svn/src/test MyTest
See
![Arrow :arrow:](./images/smilies/icon_arrow.gif)
Nowadays, ROMS has evolved to have the source code and applications completely separated. Pay attention to what the build.sh or build.bash is doing in any of the test cases in the above repository.
-
- Posts: 44
- Joined: Fri Mar 15, 2013 1:30 pm
- Location: Nanjing Uni. of Info. Sci. & Tech. (nanjing institute of meterology)
Re: arango
Hi arango,
Thank you very much.
I have already known how to do
zhao
Thank you very much.
I have already known how to do
zhao