|
|
|
Next: 5.5 Adjoint dump &
Up: 5.4 The gradient check
Previous: 5.4.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@dev.mitgcm.org
Copyright © 2002
Massachusetts Institute of Technology |
|
|