next up previous contents
Next: 3.14 Applying bug fixes Up: 3. Getting Started Previous: 3.12.2 An alternative recommended

   
3.13 Finding all differences between two versions of MOM

As changes, bug fixes, and new parameterizations are incorporated into MOM, newer versions of the code and manual will be placed along older versions on the GFDL anonymous ftp server. To upgrade existing code to the latest version, refer to Section 3.12. To inspect what changes have been made since a previous version, create a NEW directory, then from within this NEW directory, uncompress and extract the tar file (e.g.  MOM3.xtar.Z)to build the latest MOM_3 directory structure. Differences between old and new versions can be generated using


diff -r  MOM_3_OLD MOM_3_NEW > x


where option ``r'' generates differences between sub-directories recursively and places the differences in file ``x'' which may be a huge file. To find which routines have changes, use


 grep \^diff   x


Files that appear in one directory and not in the other can be found with


 grep \^Only   x




RC Pacanowski and SM Griffies, GFDL, Jan 2000