Home »
Public Forums »
archive »
Re: IDL_PATH problems
Re: IDL_PATH problems [message #68646] |
Mon, 09 November 2009 08:06 |
Bernhard Reinhardt
Messages: 26 Registered: October 2008
|
Junior Member |
|
|
Bernhard Reinhardt wrote:
> I just came across a weird problem: I normally use the idlde but now I
> want to run a program on the console.
>
> I ran the program but encountered an error when IDL couldn't locate one
> of David's routines "undefine" which resides in my library-folder. I
> found out that the IDL_PATH was not set.
>
> So I set the IDL_PATH accordingly.
>
> My IDL_PATH now looks like
> IDL_PATH=+/athome/rein_be/IDLWorkspace:+/athome/rein_be/CIMa ster
>
> When I run my program now, it doesn't even compile:
>
> IDL> object_based_validation_batch
>
> li=READ_ASCII(li_file, TEMPLATE=templ)
> ^
> % Syntax error.
>
> When running
> IDL> templ
> idl restores a templ.sav that resides somewhere in the IDL-Path. So I
> moved this templ.sav to templ.sav.bak
>
> now
> IDL> templ
> yields
> % Attempt to call undefined procedure/function: 'TEMPL'.
> % Execution halted at: $MAIN$
>
> But the same compilation error occurs.
Problem solved. After changing the IDL_PATH to
<IDL_DEFAULT>:+/athome/rein_be/IDLWorkspace:+/athome/rein_be/CIMaster
it works.
Regards,
Bernhard
|
|
|
Current Time: Fri Oct 10 10:18:30 PDT 2025
Total time taken to generate the page: 0.95555 seconds