MOM is configured in various ways through the use of options which are enabled by setting preprocessor type directives. The directives are usually placed on a preprocessor or compile statement in a run_script and take the form -Doption1 -Doption2 etc. Note that the -D must be used as a prefix to the option name. For an example, refer to script run_mom. Care should be exercised when enabling options because there is no check for mispelled options. When enabled, options eliminate or include portions of code thereby implementing desired features. As MOM executes, a summary of all enabled options is given.
Some options are incompatible with others. Subroutine checks22.30 looks for all conflicting options and if any are found, writes all error messages to the printout file before stopping. Various additional checking is done and warning messages may also be issued. These are less serious than error messages and allow MOM to continue. This does not mean they should be ignored. They often give information about possibly inappropriate values being used. In fact, it is a good idea to search the printout file to locate any ``warning'' messages and verify they are harmless before continuing. Refer to Section 3.1 for details on how to perform searches.
In the rest of this part of the manual, MOM options will be grouped into catagories and given brief explanations along with guidelines for useage. Diagnostic options are discussed separately in Part XVI. Note that all numerical indices are exposed within expressions given in this documentation so as to closely match with those used in the Fortran code. This extra bit of detail is insisted upon as another way of insuring that complex formulations are correct.