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
> 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
I would suggest using a simple console editor on the server such as emacs or vi. I usually have multiple terminals windows logged into the remote machine -- one for an editor, one for an IDL command line, one for a system command line, etc. I believe it is possible to use X (I think even if you're local machine is on Windows, but there is extra software you need) to run the IDL Workbench and have it show up on your local machine, but my experience is that is a very slow and frustrating experience.
On Friday, October 12, 2012 1:12:58 PM UTC-6, Mike Galloy wrote:
> I believe it is possible to use X (I > think even if you're local machine is on Windows, but there is extra > software you need) to run the IDL Workbench and have it show up on your > local machine, but my experience is that is a very slow and frustrating > experience.
Oddly enough, I was just figuring out how to connect to a UNIX machine
from my Windows machine via a VNC client this morning. I now have a
window on my Windows machine that connects to UNIX and allows me to run the IDLDE on the UNIX machine (I need UNIX because the massive amount of data we need is located there and because that machine has 32 GByte of RAM, whereas this poor Windows machine only has 6 GByte of RAM). I like
the IDLDE because I configure it exactly like my Windows IDLDE and
I don't have to think about anything except my work.
I didn't find doing this particular operation frustrating (someone
else had installed the vncserver software on the UNIX side) or slow.
If fact, so far, it is working great!
> On Friday, October 12, 2012 1:12:58 PM UTC-6, Mike Galloy wrote:
>> I believe it is possible to use X (I
>> think even if you're local machine is on Windows, but there is extra
>> software you need) to run the IDL Workbench and have it show up on your
>> local machine, but my experience is that is a very slow and frustrating
>> experience.
> Oddly enough, I was just figuring out how to connect to a UNIX machine
> from my Windows machine via a VNC client this morning. I now have a
> window on my Windows machine that connects to UNIX and allows me to run
> the IDLDE on the UNIX machine (I need UNIX because the massive amount of data
> we need is located there and because that machine has 32 GByte of RAM,
> whereas this poor Windows machine only has 6 GByte of RAM). I like
> the IDLDE because I configure it exactly like my Windows IDLDE and
> I don't have to think about anything except my work.
> I didn't find doing this particular operation frustrating (someone
> else had installed the vncserver software on the UNIX side) or slow.
> If fact, so far, it is working great!
Ah, yes, VNC probably provides a better experience than X.
Of course, I am biased against the Workbench -- I use the command line 95% even on my local machine.
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.
mkmva...@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.")
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.
mkmva...@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.")
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.
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?