[MITgcm-support] how to do the adjoint using MITgcm

Mike 717613378 at qq.com
Mon Jan 19 08:59:21 EST 2015


Hello,Patrick Heimbach‍
Thanks for your replay and help. Now i have inetalled the OpenAD_2014-03-15 and downloaded the MITgcm_c65h. 
I tried to build the adjoint model with OpenAD.
I run testreport in the verification/ directory, as follows:‍‍
./testreport -oad -t OpenAD. ( Here, OpenAD is a directory that is an example)‍
But it failed. And the error message were reported as follows:‍
==================================================================================
parsing options...  OK (COMMAND='./mitgcmuv_ad > output_oadm.txt')
creating the comparison code (using CC=cc)...  OK
skipping mpack build


default    10
G D M    C  A  F
e p a R  o  d  D
n n k u  s  G  G
2 d e n  t  r  r


-------------------------------------------------------------------------------


Experiment:  OpenAD/


genmake ... successful
clean build-dir: make Clean ... successful
make depend skipped!
make ... fortcom: Error: gad_exch_som_cb2m_oad.f, line 273: An allocatable dummy argument may only be argument associated with an allocatable actual argument.   [OPENAD_TYC_1548]
      CALL oad_AllocateMatching(OpenAD_tyc_1548,SMTR)
--------------------------------^
fortcom: Error: gad_exch_som_cb2m_oad.f, line 283: An allocatable dummy argument may only be argument associated with an allocatable actual argument.   [OPENAD_TYC_1550]
      CALL oad_AllocateMatching(OpenAD_tyc_1550,SMTR)
--------------------------------^
compilation aborted for gad_exch_som_cb2m_oad.f (code 1)
make[1]: *** [gad_exch_som_cb2m_oad.o] Error 1
make[1]: Leaving directory `/disk2/daodao/ocean_model_read_daodao/MITgcm_c65h_read/verification/OpenAD/build'
make: *** [ad_exe_target] Error 2
failed
===============================================================================



And the make.tr_log_tail file is added in the attachment. ‍‍‍


best wishes‍


Mike
‍
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150119/28daff58/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.tr_log_tail
Type: application/octet-stream
Size: 1095471 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20150119/28daff58/attachment-0001.obj>


More information about the MITgcm-support mailing list