[MITgcm-support] Fwd: Divided adjoint

C Spencer Jones csjones at ucsd.edu
Mon May 1 20:52:23 EDT 2017


This email prompted a conversation with Matt Mazloff. He suggested that the
options

#define ALLOW_AUTODIFF_WHTAPEIO
#define AUTODIFF_USE_OLDSTORE_3D
#define AUTODIFF_USE_OLDSTORE_2D
#define EXCLUDE_WHIO_GLOBUFF_2D
#define ALLOW_INIT_WHTAPEIO

in AUTODIFF_OPTIONS.h might be conflicting with the divided adjoint.
Turning these options off seems to have solved the problem.

Sorry to spam everyone, but I thought it'd be good to have the answer to
the question in the archives!
Spencer


---------- Forwarded message ----------
From: C Spencer Jones <csjones at ucsd.edu>
Date: 1 May 2017 at 15:31
Subject: Divided adjoint
To: mitgcm-support at mitgcm.org


Hi everyone,
I have been trying to run the divided adjoint. When I run the non-diva
code, the model runs successfully. For the divided adjoint, the model runs
forward fine and then blows up a few hundred timesteps into running
backwards. The first few sensitivities look sensible. Can anyone suggest
what I might be doing wrong?

My setup is based on the verification experiment tutorial_global_oce_optim,
but has been modified significantly. I am attaching data, packages.conf,
AUTODIFF_OPTIONS.h and ECCO_CPPOPTIONS.h.
Thanks very much,
Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20170501/11b20f4b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packages.conf
Type: application/octet-stream
Size: 192 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20170501/11b20f4b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AUTODIFF_OPTIONS.h
Type: text/x-chdr
Size: 2083 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20170501/11b20f4b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ECCO_CPPOPTIONS.h
Type: text/x-chdr
Size: 2974 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20170501/11b20f4b/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data
Type: application/octet-stream
Size: 2729 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20170501/11b20f4b/attachment-0003.obj>


More information about the MITgcm-support mailing list