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

Home » Public Forums » archive » Re: run idl .sav file from unix or linux enviroment
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
Re: run idl .sav file from unix or linux enviroment [message #73324] Tue, 02 November 2010 18:58
Truong Le is currently offline  Truong Le
Messages: 42
Registered: September 2010
Member
On Nov 2, 9:50 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Nov 2, 11:32 pm, Truong Le <truong...@gmail.com> wrote:
>
>> I am not so sure I understand. But is it correct that all the
>> procedures that all the procedures that I need to run for that
>> particular .sav file should in the same area too, correct?
>
> I do not know what you mean by "same area". To run a savefile in IDL's
> VM, the file must contain any routines that are not in IDL's standard
> library. Which is the purpose of resolve_all, so that they can be
> included when creating the savefile.
>
> That is assuming you want to run it on the VM. If you want to run the
> routine(s) from the IDL session, the remaining routines (either source
> or sav files) can be anywhere in IDL's path, or in the current
> directory.

okay, thanks!
Re: run idl .sav file from unix or linux enviroment [message #73325 is a reply to message #73324] Tue, 02 November 2010 18:50 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 2, 11:32 pm, Truong Le <truong...@gmail.com> wrote:
> I am not so sure I understand. But is it correct that all the
> procedures that all the procedures that I need to run for that
> particular .sav file should in the same area too, correct?

I do not know what you mean by "same area". To run a savefile in IDL's
VM, the file must contain any routines that are not in IDL's standard
library. Which is the purpose of resolve_all, so that they can be
included when creating the savefile.

That is assuming you want to run it on the VM. If you want to run the
routine(s) from the IDL session, the remaining routines (either source
or sav files) can be anywhere in IDL's path, or in the current
directory.
Re: run idl .sav file from unix or linux enviroment [message #73327 is a reply to message #73325] Tue, 02 November 2010 18:32 Go to previous message
Truong Le is currently offline  Truong Le
Messages: 42
Registered: September 2010
Member
On Nov 2, 5:33 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Nov 2, 7:25 pm, Truong Le <truong...@gmail.com> wrote:
>
>
>
>> On Nov 2, 5:20 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>>> On Nov 2, 7:11 pm, Truong Le <truong...@gmail.com> wrote:
>
>>>> Hi All,
>
>>>> I need to know how to run an idl .sav file that I created from the
>>>> window environment in
>>>> the unix or linux environment without invoking idlde.
>
>>>> Thanks
>
>>> You may be looking for
>
>>> idl -vm=whatever.sav
>
>> That was I very first attempt but I received the following error:
>
>> !The following error was encountered: Attempt to call undefined
>> procedure/function: 'DEFAULT'
>
> Sounds like the savefile does not contain all the routines you need.
> The procedure resolve_all might help with that.

I am not so sure I understand. But is it correct that all the
procedures that all the procedures that I need to run for that
particular .sav file should in the same area too, correct?
Re: run idl .sav file from unix or linux enviroment [message #73334 is a reply to message #73327] Tue, 02 November 2010 14:33 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 2, 7:25 pm, Truong Le <truong...@gmail.com> wrote:
> On Nov 2, 5:20 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>> On Nov 2, 7:11 pm, Truong Le <truong...@gmail.com> wrote:
>
>>> Hi All,
>
>>> I need to know how to run an idl .sav file that I created from the
>>> window environment in
>>> the unix or linux environment without invoking idlde.
>
>>> Thanks
>
>> You may be looking for
>
>> idl -vm=whatever.sav
>
> That was I very first attempt but I received the following error:
>
> !The following error was encountered: Attempt to call undefined
> procedure/function: 'DEFAULT'

Sounds like the savefile does not contain all the routines you need.
The procedure resolve_all might help with that.
Re: run idl .sav file from unix or linux enviroment [message #73335 is a reply to message #73334] Tue, 02 November 2010 14:25 Go to previous message
Truong Le is currently offline  Truong Le
Messages: 42
Registered: September 2010
Member
On Nov 2, 5:20 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Nov 2, 7:11 pm, Truong Le <truong...@gmail.com> wrote:
>
>> Hi All,
>
>> I need to know how to run an idl .sav file that I created from the
>> window environment in
>> the unix or linux environment without invoking idlde.
>
>> Thanks
>
> You may be looking for
>
> idl -vm=whatever.sav

That was I very first attempt but I received the following error:

!The following error was encountered: Attempt to call undefined
procedure/function: 'DEFAULT'
Re: run idl .sav file from unix or linux enviroment [message #73336 is a reply to message #73335] Tue, 02 November 2010 14:20 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 2, 7:11 pm, Truong Le <truong...@gmail.com> wrote:
> Hi All,
>
> I need to know how to run an idl .sav file that I created from the
> window environment in
> the unix or linux environment without invoking idlde.
>
> Thanks

You may be looking for

idl -vm=whatever.sav
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: hist_norm
Next Topic: how to change dialog_message button names ?

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

Current Time: Fri Oct 10 15:07:29 PDT 2025

Total time taken to generate the page: 2.24216 seconds