Home Contact Us Site Map  
 
       
    next up previous contents
Next: 6.1.3 Package Coding Standards Up: 6.1 Using MITgcm Packages Previous: 6.1.1 Package Inclusion/Exclusion   Contents

6.1.2 Package Activation

For run-time package control, MITgcm uses flags set through a data.pkg file. While some packages (eg. debug, mnc, exch2) may have their own usage conventions, most follow a simple flag naming convention of the form:

  usePackageName=.TRUE.
where the usePackageName variable can activate or disable the package at runtime. As mentioned previously, packages must be included in order to be activated. Generally, such mistakes will be detected and reported as errors by the code. However, users should still be aware of the dependency.



mitgcm-support@mitgcm.org
Copyright © 2006 Massachusetts Institute of Technology Last update 2018-01-23