No subject


Fri Nov 30 02:28:46 EST 2012


(XXX.001.001.data, etc) from the same directory -- that is, whatever
mdsioLocalDir is set to on that process (which differs by process rank).
Because of mdsioLocalDir there is a different directory for each rank. Will
useSingleCpuIO address this?

Thanks
Dan




On Mon, Mar 10, 2014 at 2:48 PM, Matthew Mazloff <mmazloff at ucsd.edu> wrote:

> Hello
>
> Yes, it does look like there is an inconsistency
> between ecco_cost_weights.F and the packing routines.
>
> For define ALLOW_PACKUNPACK_METHOD2  it should work as they both use
>  active_read_xyz to read the mask
>
> But undef ALLOW_PACKUNPACK_METHOD2 uses MDSREADFIELD_3D_GL to read the
> mask....Should we switch this?
>
> Although, glancing the code it does seem this should still work
> as mdsioLocalDir is attached as a prefix in MDSREADFIELD_3D_GL on line 132.
> What is the error message you are getting?
>
> and are you using useSingleCPUIO?
>
> Matt
>
>
>
>
> On Mar 10, 2014, at 1:55 AM, Daniel Goldberg <dngoldberg at gmail.com> wrote:
>
> Hi there
>
> I was wondering if the mdsioLocalDir parameter has been used extensively,
> particularly when using the control and cost packages in a multiproc
> environment.
>
> I have done this and run into problems -- from what I can tell this
> parameter causes directories mdsioLocalDirXXXX to be created, where XXXX is
> the processor rank. This leads to an error though, because
> MDSREADFIELD_3D_GL (which needs to read maskCtrlC) seems to expect all
> files to be in a single directory. Is this a bug or have I configured
> incorrectly?
>
> Thanks very much
> 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
>  _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
>


-- 

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

--001a11c0e85c9591bf04f441d684
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks Matt --<div><br></div><div style>It might be this u=
seSingleCPUIO parameter that i was missing. Where is it set/what does it do=
?</div><div style><br></div><div style>From what I can infer&nbsp;<span sty=
le=3D"font-family:arial,sans-serif;font-size:13px">MDSREADFIELD_3D_GL tries=
 to read all the files (XXX.001.001.data, etc) from the same directory -- t=
hat is, whatever mdsioLocalDir is set to on that process (which differs by =
process rank). Because of mdsioLocalDir there is a different directory for =
each rank. Will useSingleCpuIO address this?</span></div>

<div style><span style=3D"font-family:arial,sans-serif;font-size:13px"><br>=
</span></div><div style><span style=3D"font-family:arial,sans-serif;font-si=
ze:13px">Thanks</span></div><div style><span style=3D"font-family:arial,san=
s-serif;font-size:13px">Dan</span></div>

<div style><span style=3D"font-family:arial,sans-serif;font-size:13px"><br>=
</span></div><div style><span style=3D"font-family:arial,sans-serif;font-si=
ze:13px"><br></span></div></div><div class=3D"gmail_extra"><br><br><div cla=
ss=3D"gmail_quote">

On Mon, Mar 10, 2014 at 2:48 PM, Matthew Mazloff <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:mmazloff at ucsd.edu" target=3D"_blank">mmazloff at ucsd.edu</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style=3D"word-wrap:break-word">Hello<div><br></div><div>Yes, it does l=
ook like there is an inconsistency between&nbsp;ecco_cost_weights.F and the=
 packing routines.</div><div><br></div><div>For&nbsp;define&nbsp;ALLOW_PACK=
UNPACK_METHOD2 &nbsp;it should&nbsp;work as they both use &nbsp;active_read=
_xyz to read the mask<div>

<br></div><div>But undef&nbsp;ALLOW_PACKUNPACK_METHOD2 uses&nbsp;MDSREADFIE=
LD_3D_GL to read the mask&hellip;.Should we switch this?</div><div><br></di=
v><div>Although, glancing the code it does seem this should still work as&n=
bsp;mdsioLocalDir is attached as a prefix in&nbsp;MDSREADFIELD_3D_GL on lin=
e 132. What is the error message you are getting?</div>

<div><br></div><div>and are you using&nbsp;useSingleCPUIO?</div><div><br></=
div><div>Matt</div><div><br></div><div><div><div><div class=3D"h5"><div><br=
></div><div><br></div><div><br></div><div>On Mar 10, 2014, at 1:55 AM, Dani=
el Goldberg &lt;<a href=3D"mailto:dngoldberg at gmail.com" target=3D"_blank">d=
ngoldberg at gmail.com</a>&gt; wrote:</div>

<br></div></div><blockquote type=3D"cite"><div><div class=3D"h5"><div dir=
=3D"ltr">Hi there<div><br></div><div>I was wondering if the mdsioLocalDir p=
arameter has been used extensively, particularly when using the control and=
 cost packages in a multiproc environment.</div>

<div><br></div><div>

I have done this and run into problems -- from what I can tell this paramet=
er causes directories mdsioLocalDirXXXX to be created, where XXXX is the pr=
ocessor rank. This leads to an error though, because MDSREADFIELD_3D_GL (wh=
ich needs to read maskCtrlC) seems to expect all files to be in a single di=
rectory. Is this a bug or have I configured incorrectly?</div>



<div><br></div><div>Thanks very much</div><div>Dan</div><div><div><br></div=
>-- <br><div dir=3D"ltr"><br>Daniel Goldberg, PhD<br>Lecturer in Glaciology=
<div>School of Geosciences, University of Edinburgh<br><span style=3D"font-=
family:arial,helvetica,clean,sans-serif;line-height:15px">Geography Buildin=
g, Drummond Street, Edinburgh EH8 9XP</span><br>



<br><br>em: <a href=3D"mailto:dgoldber at mit.edu" target=3D"_blank">D</a><a h=
ref=3D"mailto:an.Goldberg at ed.ac.uk" target=3D"_blank">an.Goldberg at ed.ac.uk<=
/a><br>web: <a href=3D"http://ocean.mit.edu/~dgoldberg" target=3D"_blank">h=
ttp://ocean.mit.edu/~dgoldberg</a></div>



</div>
</div></div></div></div>
_______________________________________________<br>MITgcm-support mailing l=
ist<br><a href=3D"mailto:MITgcm-support at mitgcm.org" target=3D"_blank">MITgc=
m-support at mitgcm.org</a><br><a href=3D"http://mitgcm.org/mailman/listinfo/m=
itgcm-support" target=3D"_blank">http://mitgcm.org/mailman/listinfo/mitgcm-=
support</a><br>

</blockquote></div><br></div></div></div><br>______________________________=
_________________<br>
MITgcm-support mailing list<br>
<a href=3D"mailto:MITgcm-support at mitgcm.org">MITgcm-support at mitgcm.org</a><=
br>
<a href=3D"http://mitgcm.org/mailman/listinfo/mitgcm-support" target=3D"_bl=
ank">http://mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div dir=
=3D"ltr"><br>Daniel Goldberg, PhD<br>Lecturer in Glaciology<div>School of G=
eosciences, University of Edinburgh<br><span style=3D"color:rgb(0,0,0);font=
-family:arial,helvetica,clean,sans-serif;line-height:15px">Geography Buildi=
ng, Drummond Street, Edinburgh EH8 9XP</span><br>

<br><br>em: <a href=3D"mailto:dgoldber at mit.edu" target=3D"_blank">D</a><a h=
ref=3D"mailto:an.Goldberg at ed.ac.uk" target=3D"_blank">an.Goldberg at ed.ac.uk<=
/a><br>web: <a href=3D"http://ocean.mit.edu/~dgoldberg" target=3D"_blank">h=
ttp://ocean.mit.edu/~dgoldberg</a></div>

</div>
</div>

--001a11c0e85c9591bf04f441d684--



More information about the MITgcm-support mailing list