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

Home » Public Forums » archive » running IDL on a linux command line
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
running IDL on a linux command line [message #81743] Fri, 12 October 2012 09:49 Go to next message
mkmvarma is currently offline  mkmvarma
Messages: 24
Registered: November 2007
Junior Member
Hello,
I am trying to use a IDL on a different machine. I logged on to the other machine using putty and type in 'idl'. But I don't know how to write or compile the program using linux based command line.

I have been using IDL on my windows computer so don't have any idea how to run or compile or edit the programs. I had used 'idlde' on a different server before but not on a command line.
Thanks,
Mahesh
Re: running IDL on a linux command line [message #82749 is a reply to message #81743] Fri, 18 January 2013 19:37 Go to previous messageGo to next message
mkmvarma is currently offline  mkmvarma
Messages: 24
Registered: November 2007
Junior Member
Is there a way to run the program from the command line? I try to use my office machine from home. This is when I need to run IDL in terminal.
Thanks,
Mahesh
On Friday, October 12, 2012 9:49:54 AM UTC-7, mkmv...@gmail.com wrote:
> Hello,
>
> I am trying to use a IDL on a different machine. I logged on to the other machine using putty and type in 'idl'. But I don't know how to write or compile the program using linux based command line.
>
>
>
> I have been using IDL on my windows computer so don't have any idea how to run or compile or edit the programs. I had used 'idlde' on a different server before but not on a command line.
>
> Thanks,
>
> Mahesh
Re: running IDL on a linux command line [message #82772 is a reply to message #81743] Thu, 17 January 2013 20:15 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkmvarma@gmail.com writes:

> I tried to run IDL using command line. It just compiles the program but does not run it. Does anybody know how to fix this. I use ".run" to run the program.

On of the (many) secrets of IDL is that the .RUN command doesn't really
run anything. (Actually, it runs main-level programs, but most people
don't know what these are, so it's not like it counts.) RUN is a hold-
over from the BASIC language from the early 1970's, when it was used to
run a BASIC program. But, the command only compiles IDL procedures and
functions, and for that purpose it is better to use the eponymously
named .COMPILE command. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: running IDL on a linux command line [message #82889 is a reply to message #82749] Sun, 20 January 2013 14:21 Go to previous messageGo to next message
russell.grew is currently offline  russell.grew
Messages: 74
Registered: February 2005
Member
Compile it and then run it. Inside idl


.compile foo.pro
foo


Cheers.


On Saturday, January 19, 2013 2:37:31 PM UTC+11, mkmv...@gmail.com wrote:
> Is there a way to run the program from the command line? I try to use my office machine from home. This is when I need to run IDL in terminal.
>
> Thanks,
>
> Mahesh
>
> On Friday, October 12, 2012 9:49:54 AM UTC-7, mkmv...@gmail.com wrote:
>
>> Hello,
>
>>
>
>> I am trying to use a IDL on a different machine. I logged on to the other machine using putty and type in 'idl'. But I don't know how to write or compile the program using linux based command line.
>
>>
>
>>
>
>>
>
>> I have been using IDL on my windows computer so don't have any idea how to run or compile or edit the programs. I had used 'idlde' on a different server before but not on a command line.
>
>>
>
>> Thanks,
>
>>
>
>> Mahesh
Re: running IDL on a linux command line [message #82897 is a reply to message #82749] Fri, 18 January 2013 20:25 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mkmvarma@gmail.com writes:

> Is there a way to run the program from the command line? I try to use my office machine from home. This is when I need to run IDL in terminal.

Sure. Type the name of the program and pass it any required arguments.
If it is written properly, it will run as soon as it is compiled. If it
isn't written properly, compile it first, then type the name of the
program, etc.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: running IDL on a linux command line [message #84725 is a reply to message #82889] Wed, 01 May 2013 23:35 Go to previous message
Chang Liao is currently offline  Chang Liao
Messages: 5
Registered: December 2012
Junior Member
Here comes another problem, I was trying to submit a job to the HPC cluster, since the data is massive. How can I call my idl code after I loaded the idl module? Shall I just compiler the pro files into sav or something else?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 'unexpectedly quit' when plotting large data sets on mac os x
Next Topic: Re: the problem for GPULIB+IDL

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

Current Time: Wed Oct 08 13:46:07 PDT 2025

Total time taken to generate the page: 0.01353 seconds