|
|
|
Next: 5.4 Adjoint dump &
Up: 5.3 The gradient check
Previous: 5.3.1 Code description
Contents
The relevant CPP precompile options are set
in the following files:
- .genmakerc
option grdchk is added to the enable list
(alternatively, genmake may be invoked with the
option -enable=grdchk).
- CPP_OPTIONS.h
Together with the flag
ALLOW_ADJOINT_RUN, define the flag
ALLOW_GRADIENT_CHECK.
The relevant runtime flags are set in the files
- data.pkg
Set useGrdchk = .TRUE.
- data.grdchk
- grdchk_eps
- nbeg
- nstep
- nend
- grdchkvarindex
Figure 5.6:
|
mitgcm-support@mitgcm.org
Copyright © 2006
Massachusetts Institute of Technology |
Last update 2018-01-23 |
|
|