[MITgcm-devel] major recomputations with move of ecco_phys call
Matthew Mazloff
mmazloff at ucsd.EDU
Fri Mar 3 19:16:50 EST 2017
Hi Gael
I can make the major recomputations go away by commenting out lines 146 to 227 in ecco_phys.F. These lines are where the transport of volume, heat, and salt are calculated:
trVolW, trVolS, trHeatW, trHeatS, trSaltW, trSaltS
I don’t need that code so I will just hide it in a CPP option for now instead of chasing down where stores need to be added.
However, can we hide that code behind some CPP option in the main code? I see they used to be within ALLOW_GENCOST_TRANSPORT but that flag was removed as revision 1.8. Can we put that back in? It seems inefficient to calculate those terms if not being used in a cost function
Thanks!
Matt
> On Mar 2, 2017, at 12:09 PM, Matt <mmazloff at ucsd.edu> wrote:
>
> Ok, maybe it's just my setup. I'll figure out what's causing it and let you know if relevant.
>
> Thanks!
> Matt
>
>
> On Mar 2, 2017, at 11:01 AM, gael forget <gforget at mit.edu <mailto:gforget at mit.edu>> wrote:
>
>> I have not noticed any but please let me know if I overlooked one. Cheers, Gael
>>
>> On Mar 2, 2017, at 1:21 PM, Matthew Mazloff <mmazloff at ucsd.edu <mailto:mmazloff at ucsd.edu>> wrote:
>>
>>> Hi Gael
>>>
>>> I haven’t checked the verification experiments. Sorry for the miscommunication -- I was asking if you had. Do any of the testers or your setup show major recomputations?
>>>
>>> Matt
>>>
>>>
>>>> On Mar 2, 2017, at 10:14 AM, gael forget <gforget at mit.edu <mailto:gforget at mit.edu>> wrote:
>>>>
>>>> Hi Matt, what verification experiment shows this recomputation? Gael
>>>>
>>>>
>>>> On Mar 1, 2017, at 2:48 PM, Matthew Mazloff <mmazloff at ucsd.edu <mailto:mmazloff at ucsd.edu>> wrote:
>>>>
>>>>> Hi Gael
>>>>>
>>>>> I just updated to the latest code from checkpoint66c and am getting major recomputations from this modification:
>>>>>
>>>>> "move call to ecco_phys to end of time step; this may induce minor cost function changes by shifting time averages by one time step for some variables; this revision resulted in changed adjoint results in MITgcm_contrib/verification_other/global_oce_cs32”
>>>>>
>>>>> The recomputations go away when I move the call back from
>>>>> forward_step.F
>>>>> to
>>>>> do_oceanic_phys.F
>>>>>
>>>>>
>>>>> Can you please check if you also get major recomputations for the test runs with this modification or if this is something specific to my setup.
>>>>>
>>>>> Thanks
>>>>> Matt
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> MITgcm-devel mailing list
>>>>> MITgcm-devel at mitgcm.org <mailto:MITgcm-devel at mitgcm.org>
>>>>> http://mitgcm.org/mailman/listinfo/mitgcm-devel <http://mitgcm.org/mailman/listinfo/mitgcm-devel>
>>>>
>>>> _______________________________________________
>>>> MITgcm-devel mailing list
>>>> MITgcm-devel at mitgcm.org <mailto:MITgcm-devel at mitgcm.org>
>>>> http://mitgcm.org/mailman/listinfo/mitgcm-devel <http://mitgcm.org/mailman/listinfo/mitgcm-devel>
>>>
>>> _______________________________________________
>>> MITgcm-devel mailing list
>>> MITgcm-devel at mitgcm.org <mailto:MITgcm-devel at mitgcm.org>
>>> http://mitgcm.org/mailman/listinfo/mitgcm-devel <http://mitgcm.org/mailman/listinfo/mitgcm-devel>
>>
>> _______________________________________________
>> MITgcm-devel mailing list
>> MITgcm-devel at mitgcm.org <mailto:MITgcm-devel at mitgcm.org>
>> http://mitgcm.org/mailman/listinfo/mitgcm-devel <http://mitgcm.org/mailman/listinfo/mitgcm-devel>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20170303/a5950a2d/attachment.htm>
More information about the MITgcm-devel
mailing list