/[MITgcm]/MITgcm/verification/OpenAD/README
ViewVC logotype

Diff of /MITgcm/verification/OpenAD/README

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

revision 1.4 by heimbach, Thu Aug 25 04:20:27 2005 UTC revision 1.8 by jmc, Mon Mar 10 01:35:17 2014 UTC
# Line 1  Line 1 
1  Starting a configuration for OpenAD  Starting a configuration for OpenAD
2  19-Aug-2005, heimbach@mit.edu, utke@mcs.anl.gov, cnh@mit.edu  19-Aug-2005, heimbach@mit.edu, utke@mcs.anl.gov, cnh@mit.edu
3  ############################################################  ############################################################
4                                                                                                                                                          
5  This experiment is derived from global_ocean.90x40x15,  This experiment is derived from global_ocean.90x40x15,
6  but excludes packages gmredi, kpp.  but excludes packages gmredi, kpp.
7                                                                                                                                                          
8  STEP 1:  STEP 1:
9  ######  ######
10  To bypass incomplete canonicalizer, convert COMMON blocks to MODULES.  To bypass incomplete canonicalizer, convert COMMON blocks to MODULES.
# Line 12  Successfully completed. Line 12  Successfully completed.
12  The built process needed to be modified, and some routines  The built process needed to be modified, and some routines
13  needed changes. Most changes were commited to default routines,  needed changes. Most changes were commited to default routines,
14  the remaining changes are kept in code/ for now.  the remaining changes are kept in code/ for now.
15                                                                                                                                                          
16  To build:  To build:
17  --------  --------
18  o short version:  o short version:
# Line 63  ln -s ../../global_ocean.90x40x15/input/ Line 63  ln -s ../../global_ocean.90x40x15/input/
63  STEP 2:  STEP 2:
64  ######  ######
65  Generate code for AD-related routines.  Generate code for AD-related routines.
66    
67  Similar to step 1, but look in code_ad/ instead of code/  Similar to step 1, but look in code_ad/ instead of code/
68    
69  To build:  To build:
70  --------  --------
71  o short version:  o short version:
72  ---------------  ---------------
73    
74  ../code_ad/genmake2  -of ../../../tools/build_options/linux_ia32_ifort -adof ../../../tools/adjoint_options/adjoint_f95 -mods ../code_ad  ../code_ad/genmake2  -of ../../../tools/build_options/linux_ia32_ifort -adof ../../../tools/adjoint_options/adjoint_f95 -mods ../code_ad
 make depend ; make cb2m ; \rm adcost_mod.F90  
 make makefile ; make small_f  
 make ad_input_code.f  
 make adtaf  
 make allmods  
 make adall  
75    
76  TAF-generated adjoint code has one bug: line  make adAll
       adfc = 0.d0  
 needs to be replaced by  
       adfc = 1.d0  
 (corresponds to seeding of dependent variable).  
77    

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

  ViewVC Help
Powered by ViewVC 1.1.22