[MITgcm-support] how to do the adjoint using MITgcm
Patrick Heimbach
heimbach at mit.edu
Thu Jan 15 11:20:12 EST 2015
Sorry, Mike, I don’t understand your question.
In your initial email you referred to the example tutorial_global_ocean_optim
which *is* a sub-directory of the verification/ directory.
So you must have found it in the past.
In my previous email, I provided an example that works with the tutorial you referred to,
and it works with the open-source tool OpenAD.
Instead of using testreport, you can do the build “by hand” as follows:
cd verification/tutorial_global_ocean_optim/build/
../../../tools/genmake -oad -mods -mods ../code_oad/
make adAll
More documentation on the specific tutorial is in section 3.18 of the online manual, see
http://mitgcm.org/public/r2_manual/latest/online_documents/node160.html
(unfortunately that description so far only described the build process using TAF; using OpenAD you should follow my previous instructions).
More on getting started with the model (e.g., directory structure and such) is in
http://mitgcm.org/public/r2_manual/latest/online_documents/node88.html
p.
On Jan 15, 2015, at 8:30 AM, Mike <717613378 at qq.com> wrote:
> Hello,Patrick Heimbach
> Thanks for your replay. Now I am trying to install the OpenAD. At the same time, I am reading the manual of MITgcm to find some examples in which the adjoint model of MITgcm is built using the OpenAD. However, I can not find a simple and appropriate example in the directory of 'verification'. Maybe I am too clumsy.
> I am interested in the adjoint model of MITgcm and just a beginner. Could you give me a sample example that could be compiled and run using OpenAD and a file including the summary of steps.
> Thank you so much
>
> best wishes !
>
> Mike
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150115/40fa6d58/attachment.p7s>
More information about the MITgcm-support
mailing list