This is the most updated version of ROMS3.0 for ChesROMS. ChesROMS hydrodynamic source code is distributed as a patch file in this directory, and here are the instructions on how to generate the actual code by downloading roms3.0 from myroms.org and then apply the patch. You should always use the code in this directory to run ChesROMS. 1) register and obtain username and password from myroms.org 2) check out the 3.0 version of the ROMS from myroms.org and store the results in this directory by: a) go to the current directory (the directory you read this readme file) cd $ChesROMS_ROOT/sorc/ROMS b) type : svn checkout --username your_user_name_of_myroms https://www.myroms.org/svn/src/tags/roms-3.0 ROMS3.0 Now you should have a directory ROMS3.0 c)go into ROMS3.0, delete the .svn directory, because this .svn is created in accordance with the myroms.org ROMS repository instead for the Source Forage repository of ChesROMS. cd ROMS3.0 find . -name .svn |xargs rm -r -f d)go back to $ChesROMS_ROOT/sorc/ROMS cd $ChesROMS_ROOT/sorc/ROMS 3)apply the patch here created by ChesROMS team: patch -p0 < ChesROMS_1.1_to_ROMS3.0_patchfile f)Now you can go into ROMS3.0 directory and find a readme file on how to compile the ChesROMS code To compile on your machine, please modify the makefile accordingly and the corresponding Makefile in ./ROMS3.0/Compile/ ########################################################## # The following are for ChesROMS model developers # # # ########################################################## How ChesROMS_1.1_to_ROMS3.0_patchfile is created: 1) The developers should have a most uptodate ROMS3.0 directory in $ChesROMS_ROOT/sorc/ROMS 2) Once a developer thinks he or she is ready to re-generate a patch file to be applied to ROMS3.0 of myroms.org she or he will do the following: a)cd $ChesROMS_ROOT/sorc/ROMS b)rename the latest ROMS3.0 code to ChesROMS3.0 mv ROMS3.0 ChesROMS3.0 c)checkout the myroms.org copy of ROMS3.0 from myroms.org: svn checkout --username developer_user_name_of_myroms https://www.myroms.org/svn/src/tags/roms-3.0 ROMS3.0 cd ROMS3.0 find . -name .svn |xargs rm -r -f cd $ChesROMS_ROOT/sorc/ROMS d)generate a patch file diff -urN ROMS3.0/ ChesROMS3.0/ > ChesROMS_1.1_to_ROMS3.0_patchfile e)delete the ChesROMS3.0 directory rm -r -f ChesROMS3.0 f)apply the patch file to the downloaded ROMS3.0 from myroms.org patch -p0 < ChesROMS_1.1_to_ROMS3.0_patchfile g)Now the new patch file is generated, he or she should be ready to commit the change to SourceForge ChesROMS repository cd $ChesROMS_ROOT/sorc/ROMS svn commit Creation: Wen Long, 14 June, 2007 Last Modification: Wen Long, 9 Jan, 2008