Home Contact Us Site Map  
 
       
    next up previous contents
Next: 3.18.4 Compiling Up: 3.18 Global Ocean State Previous: 3.18.2 Implementation of the   Contents

Subsections


3.18.3 Code Configuration

The model configuration for this experiment resides under the directory verification/tutorial_global_oce_optim/. The experiment files in code_ad/ and input_ad/ contain the code customizations and parameter settings. Most of them are identical to those used in the Global Ocean ( experiment tutorial_global_oce_latlon). Below, we describe some of the customizations required for this experiment.

3.18.3.1 Compilation-time customizations in code_ad/

In ECCO_CPPOPTIONS.h:

  • define ALLOW_ECCO_OPTIMIZATION

  • define ALLOW_COST, ALLOW_COST_TEMP, and ALLOW_COST_HFLUXM

  • define ALLOW_HFLUXM_CONTROL


3.18.3.2 Running-time customizations in input_ad/

  • data: note the smaller cg2dTargetResidual than in the forward-only experiment,

  • data.optim specifies the iteration number,

  • data.ctrl is used, in particular, to specify the name of the sensitivity and adjustment files associated to a control variable,

  • data.cost: parameters of the cost functions, in particular lastinterval specifies the length of time-averaging for the model temperature to be used in the cost function (3.92),

  • data.pkg: note that the Gradient Check package is turned on by default (useGrdchk=.TRUE.),

  • Err_hflux.bin and Err_levitus_15layer.bin are the files containing the heat flux and potential temperature uncertainties, respectively.


next up previous contents
Next: 3.18.4 Compiling Up: 3.18 Global Ocean State Previous: 3.18.2 Implementation of the   Contents
mitgcm-support@mitgcm.org
Copyright © 2006 Massachusetts Institute of Technology Last update 2018-01-23