[MITgcm-devel] convenience features for the adjoint
Martin Losch
Martin.Losch at awi.de
Mon Dec 6 04:33:46 EST 2010
Hi there,
I am glad I started this interesting discussion, I am not less confused than before. I think that I will do both:
1. adTapeDir will go into data/PARM05 and PARAMS.h (because mdsioLocalDir is in this place, and it is related)
2. In order to open the all floodgates for multiple new parameters, will put all of my use{PGK}inAdMode into a new data.autodiff/AUTODIFF_PARAMS.h. (and because this is really specific to the differentiation of the code)
And yes, I agree there are more urgent things to do, but I am not up to them (like fixing my adjoint run with GM), so I'll do the not-totally-unimportant things first (my style (o:). This was sparked by debugging my configuration in the first place.
Martin
PS. Patrick, I disagree: Once this is implemented (also in autodiff_inadmode), the only thing that I need to specify is the parameter in data.autodiff. Or am I misssing something?
> I'd actually be against implementing either, because now
> one has to look *both* into autodiff_inadmode *and* what
> is set in data or data.pkg or data.autodiff
> (before it was just the customized autodiff_inadmode).
> And it gives a false sense of ease of use...
More information about the MITgcm-devel
mailing list