<div class="gmail_quote">On Tue, May 12, 2009 at 7:33 AM, Davide Sacchetti <span dir="ltr">&lt;<a href="mailto:davide.sacchetti@arpal.org">davide.sacchetti@arpal.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I had a lot of problems in MALLOC, that is, &quot;define variable=...&quot; with<br>
grads 1.9. The situation got much better with opengrads v1.9.0-rc1<br>
also if I still have some &quot;random&quot; and less frequent problem for defined<br>
variables. Then my suggestion is: upgrade to v1.9.0-rc1.</blockquote><div><br></div><div>If you must stay with the Legacy GrADS v1.x then I suggest you upgrade to the recently released v1.10. Mainly because it will provide a seamless path to migrate to v2.0. If you can, migrate to v2.0, in if you need the OpenGrADS extensions, consider v2.0.a5.oga.5 available from <a href="http://sf.net">sf.net</a>:</div>
<div><br></div><div>     <a href="https://sourceforge.net/project/showfiles.php?group_id=161773">https://sourceforge.net/project/showfiles.php?group_id=161773</a><br></div><div><br></div><div>Now the UDF situation is in transition at this point. Stock v2.0 from COLA does not yet provide a mechanism for defining user defined functions. The OpenGrADS project provides a mechanism for UDFs in v2.0 which is not endorsed by COLA; the same mechanism is also implemented in v1.10 (and slightly different in v1.9.0-rc1). However, these OpenGrADS releases implement what we cal &quot;API 0&quot;, a low level API that requires you know a bit about the internal GrADS data structures and that you rebuild your UDFs with new release of GrADS (to be sure, although in practice not always required.). The situation will change with &quot;API 1&quot;, both this is not available yet. We have a proposal for &quot;API 1&quot; in here:</div>
<div><br></div><div>     <a href="http://opengrads.org/wiki/index.php?title=User_Defined_Extensions_in_GrADS_v2.0">http://opengrads.org/wiki/index.php?title=User_Defined_Extensions_in_GrADS_v2.0</a><br></div><div><br></div>
<div>COLA has plans to develop their own UDF interface, but I am not familiar with the details of their design.</div><div><br></div><div>   Arlindo</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br>
</div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>