[MITgcm-support] use the variable myIter

Estanislao Gavilan Pascual-Ahuir dramauh at hotmail.com
Thu Jun 12 20:16:24 EDT 2025


Hi Martin,

thank so much for your help. After adding the myIter to the call and the definition, I was able to use myIter into the routine. There is another small thing, I wanted to do a box in a specific area. Despite that I add the box using conditionals with XC(i,j,bi,bj) and YC(i,j,bi,bj), the box goes beyond those coordinates. I suspect that somehow the tiles are being used instead of the grid points. But that should not be the case as the condition is inside  the  DO j=2-OLy,sNy+OLy-1 and DO i=2-OLx,sNx+OLx-1 loop. Thanks again for all you help

Kind regards,

Estanislao

________________________________
From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of mitgcm-support-request at mitgcm.org <mitgcm-support-request at mitgcm.org>
Sent: Friday, June 13, 2025 1:00
To: mitgcm-support at mitgcm.org <mitgcm-support at mitgcm.org>
Subject: MITgcm-support Digest, Vol 264, Issue 8

Send MITgcm-support mailing list submissions to
        mitgcm-support at mitgcm.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
or, via email, send a message with subject or body 'help' to
        mitgcm-support-request at mitgcm.org

You can reach the person managing the list at
        mitgcm-support-owner at mitgcm.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MITgcm-support digest..."


Today's Topics:

   1. Re: use the variable myIter (Martin Losch)
   2. tapenade verification tests in CI or elsewhere? (Daniel Goldberg)


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

Message: 1
Date: Thu, 12 Jun 2025 08:58:45 +0200
From: Martin Losch <Martin.Losch at awi.de>
To: MITgcm Support <mitgcm-support at mitgcm.org>
Subject: Re: [MITgcm-support] use the variable myIter
Message-ID: <F7EA3E2F-0653-4A49-BC92-6C0B60F7DF58 at awi.de>
Content-Type: text/plain; charset="utf-8"

Hi Estanislao,

As far as I can tell, s/r mom_calc_visc is called once from mom_fluxform.F and once from mom_vecinv.F
It should be straightforward to extend the formal parameter list to include myTime and myIter, as in almost any other routine, you?d only have to edit three routines to do so. We may want to do this anyway for consistency (and situations like the one you describe).

Martin

> On 12. Jun 2025, at 04:19, Estanislao Gavilan Pascual-Ahuir <dramauh at hotmail.com> wrote:
>
> Dear Community,
>
> I would like to slightly edit the routine mom_calc_visc to increase the viscosity during a year. I thought the variable was global but it does not seem the case. Is there anyway to call the variable myIter there? Thanks in advance for your help.
>
> Best regards,
>
> Estanislao
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20250612/eeaf3db0/attachment-0001.html>

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

Message: 2
Date: Thu, 12 Jun 2025 12:14:22 +0000
From: Daniel Goldberg <Dan.Goldberg at ed.ac.uk>
To: MITgcm Support <mitgcm-support at mitgcm.org>
Subject: [MITgcm-support] tapenade verification tests in CI or
        elsewhere?
Message-ID:
        <AM6PR05MB426399F40FD61D3D5876AAA2B074A at AM6PR05MB4263.eurprd05.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"

Hello All

I was wondering if any tapenade adjoint verification tests are run as a part of CI / github actions? I cannot see that it is from looking at the github actions yaml file: https://github.com/MITgcm/MITgcm/blob/master/.github/workflows/build_testing.yml

Are there any servers where such tests are run in batch, and are reports still made public?

Many thanks!
Dan

--
Daniel Goldberg, PhD (he/him)
Reader in Glaciology
School of Geosciences, University of Edinburgh
Geography Building, Drummond Street, Edinburgh EH8 9XP
https://dngoldberg.github.io/
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th' ann an Oilthigh Dh?n ?ideann, cl?raichte an Alba, ?ireamh cl?raidh SC005336.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20250612/bec6a048/attachment-0001.html>

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

Subject: Digest Footer

_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support


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

End of MITgcm-support Digest, Vol 264, Issue 8
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20250613/5638eb08/attachment.html>


More information about the MITgcm-support mailing list