running IDL on a linux command line [message #81743] |
Fri, 12 October 2012 09:49  |
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 #82772 is a reply to message #81743] |
Thu, 17 January 2013 20:15   |
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   |
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 #84725 is a reply to message #82889] |
Wed, 01 May 2013 23:35  |
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?
|
|
|