[MITgcm-devel] bug in autodiff_restore

Patrick Heimbach heimbach at MIT.EDU
Fri Oct 9 07:03:39 EDT 2009


Looks buggy.
Please go ahead and check in.
(don't think anyone has used this piece of code so far).
-p.

On Oct 9, 2009, at 4:01 AM, Martin Losch wrote:

> Hi there,
>
> I just found a bug in autodiff_restore.F:
>
> lines like
>           xx_obcsn0(I,K,i,j,1)   = StoreOBCSN(I,K,bi,bj,11)
> should really be i,j-> bi,bj
>           xx_obcsn0(I,K,bi,bj,1)   = StoreOBCSN(I,K,bi,bj,11)
>
> I am not sure how much of an effect this will have on any existing   
> simulation, but this is clearly wrong and caused serious memory  
> issues with gfortran. I will check the fix in, unless someone  
> objects ...
>
> M.
>
> _______________________________________________
> 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