[MITgcm-devel] problem with argument list of adthe_main_loop
Patrick Heimbach
heimbach at MIT.EDU
Mon Apr 26 23:06:48 EDT 2010
Hi Martin,
I haven't looked into this in a long time.
As you see, the "broad" behavior is that
mycurrenttime is kept for ECCO, but not otherwise.
If I remember correctly, I tried a number of ways to "recompute"
mycurrenttime
within the_main_loop and make it "self-sufficient" (e.g. use
starttime), but didn't help much.
I think I also tried the other way round, i.e. "force" TAF to keep
mycurrenttime always,
but didn't help much either.
My hunch is it has to do with the use (or non-use) of the
cost_averages... routines.
But would have to see your setup in detail ;)
in particular, what's the difference between the two cases.
I had not pursued this further, since it seems stable for most
applications,
and can be easily changed in case of unexpected behavior.
Cheers
-p.
On Apr 26, 2010, at 9:08 AM, Martin Losch wrote:
> Hi there (Patrick in particular),
>
> I found this in the archives (the search functions seems to work
> better):
> http://forge.csail.mit.edu/pipermail/mitgcm-devel/2008-June/
> 003425.html
> and I seem to have a similar problem in a particular configuration:
> in ad_taf_output.f I find
> subroutine adthe_main_loop(mythid)
> but it's called as adthe_main_loop(mycurrenttime, mythid) from
> the_model_main.F
>
> I have other configurations where taf properly produces "subroutine
> adthe_main_loop(mytime,mythid)", but I cannot see why. Both
> configurations use the ecco package (so ALLOW_ECCO is defined,
> that's why the_model_main requires mytime and mythid) and pretty
> similar ECCO_CPPOPTIONS.h.
>
> Can you point me to the critical parameters that let taf produce
> the argument list with (mytime, mythid)? Is the type of cost function?
>
> Martin
>
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
More information about the MITgcm-devel
mailing list