[MITgcm-devel] Re: AD_CONFIG.h

Patrick Heimbach heimbach at MIT.EDU
Thu Oct 23 13:59:18 EDT 2003


Hi Ed,

I've updated your changes on my local dir.
The adjoint initiall totall failed.
I did the following additional change: add an
#include "AD_CONFIG.h"
to KPP_OPTIONS.h and GMREDI_OPTIONS.h
That did the trick.

My question: is his how it's supposed to be?

Cheers
-p.

Ed Hill wrote:
> On Wed, 2003-10-22 at 19:39, Patrick Heimbach wrote:
> 
>>Ed,
>>
>>here are the CPP options that could go into AD_CONFIG.h
>>#define ALLOW_ADJOINT_RUN
>>#define ALLOW_TANGENTLINEAR_RUN
>>#define ALLOW_ECCO_OPTIMIZATION
>>
>>In this context the option
>>#define ALLOW_GRADIENT_CHECK
>>should be replaced by ALLOW_GRDCHK
>>and can then be removed from CPP_OPTIONS.h as well.
> 
> 
> 
> Hi Patrick,
> 
> I just checked in a large-ish set of changes that adds the AD_CONFIG.h
> file.  If you look near the end of genmake2 (lines: 1477-1513), you'll
> see the location where you can set the #define and/or #undef values for
> the above flags.
> 
> And I'll do the edits for the ALLOW_GRDCHK flag tomorrow when doing the
> similar ALLOW_EXF cleanups.
> 
> Ed
> 


-- 
Patrick Heimbach ........................... M.I.T
FON: +1/617/253-5259 .......... EAPS, Room 54-1518
FAX: +1/617/253-4464 ..... 77 Massachusetts Avenue
mailto:heimbach at mit.edu ....... Cambridge MA 02139
http://www.mit.edu/~heimbach/ .............. U.S.A




More information about the MITgcm-devel mailing list