--- MITgcm/verification/OpenAD/README 2005/08/25 04:20:27 1.4 +++ MITgcm/verification/OpenAD/README 2014/03/10 01:35:17 1.8 @@ -1,10 +1,10 @@ Starting a configuration for OpenAD 19-Aug-2005, heimbach@mit.edu, utke@mcs.anl.gov, cnh@mit.edu ############################################################ - + This experiment is derived from global_ocean.90x40x15, but excludes packages gmredi, kpp. - + STEP 1: ###### To bypass incomplete canonicalizer, convert COMMON blocks to MODULES. @@ -12,7 +12,7 @@ The built process needed to be modified, and some routines needed changes. Most changes were commited to default routines, the remaining changes are kept in code/ for now. - + To build: -------- o short version: @@ -63,23 +63,15 @@ STEP 2: ###### Generate code for AD-related routines. + Similar to step 1, but look in code_ad/ instead of code/ To build: -------- o short version: --------------- + ../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 -TAF-generated adjoint code has one bug: line - adfc = 0.d0 -needs to be replaced by - adfc = 1.d0 -(corresponds to seeding of dependent variable). +make adAll