<div class="gmail_quote">On Thu, Feb 28, 2008 at 5:19 PM, Xiaofeng Gong <<a href="mailto:nyxg21@gmail.com">nyxg21@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Grads Users:<br>
<br>
<br>
i am having troubles in installing user definded extensions. this sounds<br>
simple, but somehow did not work.<br>
<br>
following the instructions from <a href="http://opengrads.org/wiki/index.php?title=User_Defined_Extensions#Installation" target="_blank">http://opengrads.org/wiki/index.php?<br>
title=User_Defined_Extensions#Installation</a>:<br>
<br>
1. download grads-1.9.0-rc1-gex-sparc-sun-solaris2.8.tar.gz<br>
2. uncompress/untar it in my $home/grads/bin (where i have my grads<br>
excutables), so i see a gex directory there.<br>
3. setenv GAUDXT $home/grads/bin/gex/udxt<br>
setenv LD_LIBRARY_PATH $home/grads/bin/gex:$LD_LIBRARY_PATH</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
4. launch grads, test it<br>
ga->query udct<br>
Invalid QUERY argument: udct</blockquote><div><br class="webkit-block-placeholder"></div><div>It appears that you are not running v1.9.0-rc1. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
qa->query udft<br>
(nothing happened).<br>
so testing fails.<br></blockquote><div><br class="webkit-block-placeholder"></div><div>Before doing a "query udct", do a "query config" and send me the output of that. Are you certain that you started the v1.9.0-rc1 executable? Notice that "grads" is *not* one of the executables. To be sure, do something like:</div>
<div><br class="webkit-block-placeholder"></div><div>$home/grads/bin/gradsnc </div><div>...</div><div>ga-> q udct</div><div><br class="webkit-block-placeholder"></div><div>You should see something like:</div><div><br class="webkit-block-placeholder">
</div><div><div> @ ---> udc_env() from <env.gex.dylib></div><div> env ---> udc_env() from <env.gex.dylib></div><div> getenv ---> udc_getenv() from <env.gex.dylib></div><div>
setenv ---> udc_setenv() from <env.gex.dylib></div><div> xenv ---> udc_xenv() from <env.gex.dylib></div><div> printenv ---> udc_xenv() from <env.gex.dylib></div><div> gxyat ---> gxyat() from <gxyat.gex.dylib></div>
<div> hello ---> cmd_hello() from <libhello.gex.dylib></div><div> ipc_verb ---> cmd_Verb() from <libipc.gex.dylib></div><div> ipc_open ---> cmd_Open() from <libipc.gex.dylib></div><div>
ipc_close ---> cmd_Close() from <libipc.gex.dylib></div><div> ipc_save ---> cmd_Save() from <libipc.gex.dylib></div><div> ipc_define ---> cmd_Define() from <libipc.gex.dylib></div><div> ipc_error ---> cmd_Error() from <libipc.gex.dylib></div>
<div><br></div><div>while</div><div><br class="webkit-block-placeholder"></div><div>ga-> q udft</div><div><br class="webkit-block-placeholder"></div><div>should produce:</div><div><br class="webkit-block-placeholder"></div>
<div>speed Args: 0 0 Exec: gsudf.gex.dylib<br></div><div><div>env Args: 0 0 Exec: env.gex.dylib</div><div>lt Args: 0 0 Exec: libbjt.gex.dylib</div><div>jd Args: 0 0 Exec: libbjt.gex.dylib</div><div>cosz Args: 0 0 Exec: libbjt.gex.dylib</div>
<div>dayratio Args: 0 0 Exec: libbjt.gex.dylib</div><div>if Args: 0 0 Exec: libbjt.gex.dylib</div><div>maxv Args: 0 0 Exec: libbjt.gex.dylib</div><div>minv Args: 0 0 Exec: libbjt.gex.dylib</div><div>which Args: 0 0 Exec: libbjt.gex.dylib</div>
<div>ftest Args: 0 0 Exec: libbjt.gex.dylib</div><div>ttest Args: 0 0 Exec: libbjt.gex.dylib</div><div>tfit Args: 0 0 Exec: libbjt.gex.dylib</div><div>fit Args: 0 0 Exec: libbjt.gex.dylib</div><div>tcor Args: 0 0 Exec: libbjt.gex.dylib</div>
<div>treg Args: 0 0 Exec: libbjt.gex.dylib</div><div>tmav Args: 0 0 Exec: libbjt.gex.dylib</div><div>madvu Args: 0 0 Exec: libbjt.gex.dylib</div><div>madvv Args: 0 0 Exec: libbjt.gex.dylib</div><div>madvw Args: 0 0 Exec: libbjt.gex.dylib</div>
<div>muadv Args: 0 0 Exec: libbjt.gex.dylib</div><div>mvadv Args: 0 0 Exec: libbjt.gex.dylib</div><div>mwadv Args: 0 0 Exec: libbjt.gex.dylib</div><div>satvap Args: 0 0 Exec: libbjt.gex.dylib</div><div>dew Args: 0 0 Exec: libbjt.gex.dylib</div>
<div>lw Args: 0 0 Exec: libbjt.gex.dylib</div><div>lw2 Args: 0 0 Exec: libbjt.gex.dylib</div><div>pinterp Args: 0 0 Exec: libbjt.gex.dylib</div><div>zinterp Args: 0 0 Exec: libbjt.gex.dylib</div><div>line Args: 0 0 Exec: libbjt.gex.dylib</div>
<div>hello Args: 0 0 Exec: libhello.gex.dylib</div><div>ipc_save Args: 0 0 Exec: libipc.gex.dylib</div><div>ipc_load Args: 0 0 Exec: libipc.gex.dylib</div><div>re Args: 0 0 Exec: re.gex.dylib</div><div>fish Args: 0 0 Exec: fish.gex.dylib</div>
<div>ddlon Args: 0 0 Exec: fish.gex.dylib</div><div>ddlat Args: 0 0 Exec: fish.gex.dylib</div><div>cdiff2 Args: 0 0 Exec: fish.gex.dylib</div><div>vor Args: 0 0 Exec: fish.gex.dylib</div><div>div Args: 0 0 Exec: fish.gex.dylib</div>
<div><br class="webkit-block-placeholder"></div></div><div> Notice that in GrADS v1.9, one usually does something like <br></div></div><div><br class="webkit-block-placeholder"></div><div>% ln -s gradsnc grads</div><div><br>
</div><div>in order to be able to type just "grads".</div><div><br></div><div> Arlindo</div><div><br class="webkit-block-placeholder"></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>