[MITgcm-devel] filename issue when packing controls with mdsioLocaldir

Patrick Heimbach heimbach at MIT.EDU
Mon Apr 28 15:26:56 EDT 2014


Hi Dan,

I don’t think I understood your email.
Why would you want to have white spaces in a filename?
Also, a detailed bug report would be more useful.

Another thing:
I noticed the halfpipe_streamice experiment is now failing (has been for some time?).
Accuracies of the gradient aren’t as good as they used to be.
Do you know what has changed?

Cheers
p.

On Apr 26, 2014, at 6:05 AM, Daniel Goldberg <dngoldberg at gmail.com> wrote:

> Hi All
> 
> On Matt Mazloff's suggestion I have been using ALLOW_PACKUNPACK_METHOD2 to allow for the control package to work while using mdsioLocalDir, and it was working until I did a fresh checkout two days ago. The bug seems to be occurring at line 132 of mdsio_gl.F:
> 
>  write(fName,'(2a)') mdsioLocalDir(1:pIL), fName(1:IL)
> 
> where the S/R is called for ctrlMaskC. The input arg fname has been declared as
> 
>  character*(*) fName
> 
> and there is no whitespace. Perhaps there was whitespace before and that allowed for the above line of code to execute, and now it has been clipped? I could be completely off though, but I was able to use mdsioLocalDir without issue before my most recent checkout (prior checkout was ~ 2 months ago).
> 
> Many thanks
> Dan
> 
> -- 
> 
> Daniel Goldberg, PhD
> Lecturer in Glaciology
> School of Geosciences, University of Edinburgh
> Geography Building, Drummond Street, Edinburgh EH8 9XP
> 
> 
> em: Dan.Goldberg at ed.ac.uk
> web: http://ocean.mit.edu/~dgoldberg
> _______________________________________________
> 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-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20140428/229f07e7/attachment.p7s>


More information about the MITgcm-devel mailing list