[MITgcm-devel] new testreport "-adm" option
Ed Hill
ed at eh3.com
Sat Nov 29 20:55:26 EST 2003
Hi Patrick (& others),
I've added an "-adm" option to testreport that runs an adjoint version
instead of the normal forward version. I got it to work (just once, it
probably needs more testing) using the source from checkpoint52a_post
since the current CVS version seems to be broken for the adjoint runs.
An example of the output it produces is shown below. It compares the
number of similar digits in the cost function and the gradient against
the values in "results_ad/output.txt_adm".
Ed
=== Command ===
on faulks using "staf" for "taf":
./testreport -ieee -adm -t global_ocean.90x40x15
=== Output using cp52a_post ===
Sat Nov 29 20:17:06 EST 2003
No "OPTFILE" was explicitly specified by testreport,
so the genmake default will be used.
ADJOINT=true
G D M C G
E p a R o r
N n k u s a
2 d e n t d
Y Y Y Y 5 4 global_ocean.90x40x15
Start time: Sat Nov 29 20:17:06 EST 2003
End time: Sat Nov 29 20:17:08 EST 2003
===
--
Edward H. Hill III, PhD
office: MIT Dept. of EAPS; Room 54-1424; 77 Massachusetts Ave.
Cambridge, MA 02139-4307
email: eh3 at mit.edu, ed at eh3.com
URL: http://web.mit.edu/eh3/
phone: 617-253-0098
fax: 617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20031130/4350fad7/attachment.sig>
More information about the MITgcm-devel
mailing list