comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL_PATH subdirectories
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL_PATH subdirectories [message #47229] Sun, 29 January 2006 14:31
Jess is currently offline  Jess
Messages: 11
Registered: June 2005
Junior Member
Hi,

In unix system install of IDL (v6.2), the IDL_PATH is set in idl_setup
as:
setenv IDL_PATH
"<IDL_DEFAULT>":$RSI_DIR/astro_lib/pro:$RSI_DIR/simul_package/v4.3.2_
pros

where I presume IDL_DEFAULT is $IDL_DIR/bin/idl/lib.

However on running idl all the subdirectories of lib (eg. itools,
utiliities) are not sourced. Eg. if I try to run xloadct I get:
IDL> xloadct
% Attempt to call undefined procedure/function: 'XLOADCT'.
% Execution halted at: $MAIN$

I understand that by prefixing the path with a '+', IDL will also
source the subdirs. However when I edit my path using IDL_STARTUP and
adding the following to my ~/.idlrc
idl_full = ':+/pkg/merlin/idl/idl_6.2/lib'
!path=!path + idl_full

restarting IDL, shows an expanded path when I run
IDL> print,expand_path(!path)
/pkg/merlin/idl/idl/lib:/pkg/merlin/idl/astro_lib/pro:/pkg/m erlin/idl/simul_package/v4.3.2_pros:/pkg/merlin/idl/idl_6.2/ lib/hook:/pkg/merlin/idl/idl_6.2/lib/obsolete:/pkg/merlin/id l/idl_6.2/lib/utilities:/pkg/merlin/idl/idl_6.2/lib/itools/c omponents:/pkg/merlin/idl/idl_6.2/lib/itools/framework:/pkg/ merlin/idl/idl_6.2/lib/itools/ui_widgets:/pkg/merlin/idl/idl _6.2/lib/itools:/pkg/merlin/idl/idl_6.2/lib/wavelet/source:/ pkg/merlin/idl/idl_6.2/lib

But scripts in the !path sub dirs still fail to load:
IDL> xloadct
% Attempt to call undefined procedure/function: 'XLOADCT'.
% Execution halted at: $MAIN$

The only way I have been able to get these sub dir scripts to load is
if I list each dir explicitly in my ammended !path, ie. not depending
on '+'. Can someone tell me what I'm doing wrong, and I will make sure
our system IDL_PATH is fixed so that all these lib sub dirs are
sourced?

Thanks,
Jess

ps. Sorry if this has already been answered.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Fastest Nearest Neighbor Calculation
Next Topic: Re: Borders Group Mind Control (Wenzlaff -- covert military)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:16:59 PDT 2025

Total time taken to generate the page: 0.00530 seconds