user defined extensions installing problems

Arlindo da Silva dasilva at ALUM.MIT.EDU
Thu Feb 28 20:59:47 EST 2008


On Thu, Feb 28, 2008 at 5:19 PM, Xiaofeng Gong <nyxg21 at gmail.com> wrote:

> Grads Users:
>
>
> i am having troubles in installing user definded extensions. this sounds
> simple, but somehow did not work.
>
> following the instructions from http://opengrads.org/wiki/index.php?
> title=User_Defined_Extensions#Installation<http://opengrads.org/wiki/index.php?title=User_Defined_Extensions#Installation>
> :
>
> 1. download grads-1.9.0-rc1-gex-sparc-sun-solaris2.8.tar.gz
> 2. uncompress/untar it in my $home/grads/bin (where i have my grads
>   excutables), so i see a gex directory there.
> 3. setenv GAUDXT $home/grads/bin/gex/udxt
>   setenv LD_LIBRARY_PATH $home/grads/bin/gex:$LD_LIBRARY_PATH


> 4. launch grads, test it
>   ga->query udct
>     Invalid QUERY argument: udct


It appears that you are not running v1.9.0-rc1.


>
>   qa->query udft
>      (nothing happened).
>  so testing fails.
>

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:

$home/grads/bin/gradsnc
...
ga-> q udct

You should see something like:

           @ ---> udc_env() from <env.gex.dylib>
         env ---> udc_env() from <env.gex.dylib>
      getenv ---> udc_getenv() from <env.gex.dylib>
      setenv ---> udc_setenv() from <env.gex.dylib>
        xenv ---> udc_xenv() from <env.gex.dylib>
    printenv ---> udc_xenv() from <env.gex.dylib>
       gxyat ---> gxyat() from <gxyat.gex.dylib>
       hello ---> cmd_hello() from <libhello.gex.dylib>
    ipc_verb ---> cmd_Verb() from <libipc.gex.dylib>
    ipc_open ---> cmd_Open() from <libipc.gex.dylib>
   ipc_close ---> cmd_Close() from <libipc.gex.dylib>
    ipc_save ---> cmd_Save() from <libipc.gex.dylib>
  ipc_define ---> cmd_Define() from <libipc.gex.dylib>
   ipc_error ---> cmd_Error() from <libipc.gex.dylib>

while

ga-> q udft

should produce:

speed  Args: 0 0  Exec: gsudf.gex.dylib
env  Args: 0 0  Exec: env.gex.dylib
lt  Args: 0 0  Exec: libbjt.gex.dylib
jd  Args: 0 0  Exec: libbjt.gex.dylib
cosz  Args: 0 0  Exec: libbjt.gex.dylib
dayratio  Args: 0 0  Exec: libbjt.gex.dylib
if  Args: 0 0  Exec: libbjt.gex.dylib
maxv  Args: 0 0  Exec: libbjt.gex.dylib
minv  Args: 0 0  Exec: libbjt.gex.dylib
which  Args: 0 0  Exec: libbjt.gex.dylib
ftest  Args: 0 0  Exec: libbjt.gex.dylib
ttest  Args: 0 0  Exec: libbjt.gex.dylib
tfit  Args: 0 0  Exec: libbjt.gex.dylib
fit  Args: 0 0  Exec: libbjt.gex.dylib
tcor  Args: 0 0  Exec: libbjt.gex.dylib
treg  Args: 0 0  Exec: libbjt.gex.dylib
tmav  Args: 0 0  Exec: libbjt.gex.dylib
madvu  Args: 0 0  Exec: libbjt.gex.dylib
madvv  Args: 0 0  Exec: libbjt.gex.dylib
madvw  Args: 0 0  Exec: libbjt.gex.dylib
muadv  Args: 0 0  Exec: libbjt.gex.dylib
mvadv  Args: 0 0  Exec: libbjt.gex.dylib
mwadv  Args: 0 0  Exec: libbjt.gex.dylib
satvap  Args: 0 0  Exec: libbjt.gex.dylib
dew  Args: 0 0  Exec: libbjt.gex.dylib
lw  Args: 0 0  Exec: libbjt.gex.dylib
lw2  Args: 0 0  Exec: libbjt.gex.dylib
pinterp  Args: 0 0  Exec: libbjt.gex.dylib
zinterp  Args: 0 0  Exec: libbjt.gex.dylib
line  Args: 0 0  Exec: libbjt.gex.dylib
hello  Args: 0 0  Exec: libhello.gex.dylib
ipc_save  Args: 0 0  Exec: libipc.gex.dylib
ipc_load  Args: 0 0  Exec: libipc.gex.dylib
re  Args: 0 0  Exec: re.gex.dylib
fish  Args: 0 0  Exec: fish.gex.dylib
ddlon  Args: 0 0  Exec: fish.gex.dylib
ddlat  Args: 0 0  Exec: fish.gex.dylib
cdiff2  Args: 0 0  Exec: fish.gex.dylib
vor  Args: 0 0  Exec: fish.gex.dylib
div  Args: 0 0  Exec: fish.gex.dylib

 Notice that in GrADS v1.9, one usually does something like

% ln -s gradsnc grads

in order to be able to type just "grads".

   Arlindo

--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080228/3fd9515f/attachment.html 


More information about the gradsusr mailing list