[MITgcm-support] Any tutorials on the MITgcm adjoint model
Patrick Heimbach
heimbach at MIT.EDU
Mon Jul 28 10:42:11 EDT 2014
Hi Xiangming,
your detailed error reports are somewhat incomplete, but some guesses:
1. you probably didn’t set the proper environment variables after installing OpenAD
(see http://www.mcs.anl.gov/OpenAD/access.shtml)
2. Try running, initially using simple gfortran compiler, testreport for experiment OpenAD,
i.e. in directory verification/ do:
./testreport -oad -t OpenAD
This will generate the adjoint using your OpenAD install
(assuming you’ve set all environment variables properly),
compile it, run it, and compare the results against a reference output.
It did work as of early this morning
(see http://mitgcm.org/testing/results/2014_07/tr_acesgrid-openad_20140728_0/summary.txt )
3. The README in verification/OpenAD is indeed a bit out of date - sorry.
We’ve considerably simplified the build process for OpenAD over the last year.
Will need to update (simplify) the description soon.
Cheers
-Patrick
On Jul 28, 2014, at 10:19 AM, Xiangming Zeng <xzeng2 at ncsu.edu> wrote:
> Dear all,
>
> I'm looking for some instructions for the adjoint model. I checked almost all the related discussions in mailing list and the manual. I couldn't find any detailed instructions. I also went through the README files in related tutorial examples. But still not quite clear to me.
>
> It seems that the doable thing for me is using the OpenAD tool rather than the other two tools. So I installed the OpenAD tools and tried the tutorial example in /verification/OpenAD, but I could not compile it successfully when I followed the README file.
>
> For example, there's no targets for "make cb2m" and "make allmods".
>
> When I tried to generate the adjoint model by doing "make adAll", it gave me several errors like
>
> "/software/OpenAD/Open64/osprey1.0/targ_ia64_ia64_linux/crayf90/sgi/mfef90 -r8 -z -F ad_input_code_sf.pre.s2p.f90
>
> USE GAD_mod"
> ^
>
> Could anyone give me some suggestions about how to generate the adjoint model please? Thank you so much.
>
> Best regards,
>
> Xiangming
> _______________________________________________
> 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/20140728/2a444cd7/attachment.p7s>
More information about the MITgcm-support
mailing list