[MITgcm-support] TAF naming convention for adjoint variables
Daniel Goldberg
dngoldberg at gmail.com
Thu Nov 30 08:09:33 EST 2017
many thanks ralf. this is very helpful.
dan
On Thu, Nov 30, 2017 at 3:49 AM, Ralf Giering <Ralf.Giering at fastopt.com>
wrote:
> Hi Dan,
>
>
>
> TAF has some options to change the naming convention.
>
> The option -admark <string> changes the default '_ad' string.
>
> The option -prefix tells TAF to prepend the string instead of appending it.
>
> So the old convention can be triggered by:
>
> ./staf -admark ad -prefix .....
>
> But in this case the generated file name also changes to adfile.f instead
> of file_ad.f .
>
> Please note that the names given in flow directives might not fit anymore.
>
>
>
> Hope that helps,
>
> Ralf
>
>
>
> > Hello
>
>
> > I am using TAF and have run into the adjoint variable naming convention
>
> > issue (e.g. theta becomes theta_ad rather than adtheta as it used to).
>
>
> > I know this changed at some point in recent years; the question is, does it
>
> > matter? e.g. the admonitor() s/r uses the variables in adcommon.h using the
>
> > old convention. I came across this submission to the devel list:
>
>
> > http://mailman.mitgcm.org/pipermail/mitgcm-devel/2016-September/006695.html
>
>
> > which notes the change in notation (but seems to indicate it is not an
>
> > issue, and does not seem to mention a workaround). Is there a way to revert
>
> > to the old notation that i am not using?
>
>
> Many thanks
>
> Dan
>
>
> --
>
> ###################################
>
> Dr. Ralf Giering
>
> FastOpt GmbH
>
> Lerchenstr. 28a, 22767 Hamburg, Germany
> <https://maps.google.com/?q=Lerchenstr.+28a,+22767+Hamburg,+Germany&entry=gmail&source=g>
>
> Tel.: +49 40 48096347 <+49%2040%2048096347>
>
> Fax : +49 40 48096357 <+49%2040%2048096357>
>
> Email: Ralf.Giering at FastOpt.de
>
> URL : http://www.FastOpt.de
>
> Handelsregister Amtsgericht Hamburg, HRB 103390
>
> Geschäftsführer: Ralf Giering
>
> ###################################
>
--
Daniel Goldberg, PhD
Lecturer in Glaciology
School of Geosciences, University of Edinburgh
Geography Building, Drummond Street, Edinburgh EH8 9XP
em: D <dgoldber at mit.edu>an.Goldberg at ed.ac.uk
web: https://www.geos.ed.ac.uk/homes/dgoldber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20171130/909a5c1a/attachment.html>
More information about the MITgcm-support
mailing list