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

Daniel Goldberg dngoldberg at gmail.com
Sat Apr 26 06:05:41 EDT 2014


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: D <dgoldber at mit.edu>an.Goldberg at ed.ac.uk
web: http://ocean.mit.edu/~dgoldberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20140426/804de6cb/attachment.htm>


More information about the MITgcm-devel mailing list