/[MITgcm]/MITgcm_contrib/dgoldberg/depth_control_no_nsa/README
ViewVC logotype

Diff of /MITgcm_contrib/dgoldberg/depth_control_no_nsa/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by dgoldberg, Thu Dec 7 23:30:59 2017 UTC revision 1.4 by dgoldberg, Fri Dec 8 14:59:09 2017 UTC
# Line 1  Line 1 
1  NOTES ON SETUP  NOTES ON SETUP
2    
3    genmake2 in build folder:
4    #    ../../../../MITgcm/tools/genmake2 -mods=../code -adoptfile=../../../../MITgcm/computing/optfiles/adjoint_132 -rootdir=../../../../MITgcm -optfile=../../../../MITgcm/computing/optfiles/linux_amd64_ifort_ices
5    
6  1. cg2d_no_nsa.F should be exactly like cg2d.F -- but EXCH_S3D needed to be replaced by EXCH_XY_RL o/w the forward model crashed  1. cg2d_no_nsa.F should be exactly like cg2d.F -- but EXCH_S3D needed to be replaced by EXCH_XY_RL o/w the forward model crashed
7    
8  2. cg2d.flow sets adjoint of cg2d_no_nsa to adcg2d_no_nsa -- this is the only reason cg2d_no_nsa.F even needs to exist  2. cg2d.flow sets adjoint of cg2d_no_nsa to adcg2d_no_nsa -- this is the only reason cg2d_no_nsa.F even needs to exist
9    
10  3. solve_for_pressure.F modified to call the above, only when  ALLOW_DIFFERENTIATE_CG2D_MATRIX is defined (in ECCO_CPPOPTIONS).  3. solve_for_pressure.F modified to call the above, only when  ALLOW_DIFFERENTIATE_CG2D_MATRIX is defined and ALLOW_CG2D_NSA is undefined (in ECCO_CPPOPTIONS).
11    
12  4. adcg2d_no_nsa finds adjoint of cg2d_b_ad as well as ac2d_ad etc. Needs common block from ad_taf_output.f to affect the latter. harcoded.  4. adcg2d_no_nsa finds adjoint of cg2d_b_ad as well as ac2d_ad etc. Needs common block from ad_taf_output.f to affect the latter. harcoded.
13    
# Line 12  NOTES ON SETUP Line 15  NOTES ON SETUP
15    
16  6. line 212 of obcs_fields_load.F commented; if not, there are extensive recomputation errors in taf_ad.log i cannot fix.  6. line 212 of obcs_fields_load.F commented; if not, there are extensive recomputation errors in taf_ad.log i cannot fix.
17    
18  7. shelfice_ad_diff.list in "main_branch_files" may be required.  7. shelfice_ad_diff.list in "main_branch_files" were modifief but do not seem to be required.
19    
20    8. output below for depth control. with temp0 or salt0 control, grdchk is accurate with NONLIN_FRSURF and nonlinearfreesurface=4.
21    
22  OUTPUT WITH NONLIN_FRSURF OFF:  OUTPUT WITH NONLIN_FRSURF OFF:
23    
# Line 62  grad-res ------------------------------- Line 67  grad-res -------------------------------
67   grad-res     0    6    5   14    1    1    1    1  -9.00753618943E+01 -9.00753618918E+01 -9.00753618967E+01   grad-res     0    6    5   14    1    1    1    1  -9.00753618943E+01 -9.00753618918E+01 -9.00753618967E+01
68   grad-res     0    6    6   15    0    1    1    1   2.52987938174E-07  2.44781261927E-07  3.24390020583E-02   grad-res     0    6    6   15    0    1    1    1   2.52987938174E-07  2.44781261927E-07  3.24390020583E-02
69    
   
70    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22