Re: Idl in a batch mode [message #31889] |
Mon, 26 August 2002 17:22 |
air_jlin
Messages: 22 Registered: July 2001
|
Junior Member |
|
|
hi Thomas,
i'm not sure how this is different depending on what machine you're
on, but in unix idl can execute code that's in a file by the following
line which i put into a shell script or queue batch file:
idl go.pro > log
here go.pro is a file i have where i set the paths of my extra idl
directories, execute a main program (given in another file main.pro),
and exit, i.e. go.pro's contents are:
!PATH = EXPAND_PATH('+~/prog/idl:' + !PATH)
.rnew main.pro
exit
executing the script/submitting the batch file then runs my idl job
piping output to the file log instead of the screen and exits upon
completion.
best,
-Johnny
-------------------------------------------
Johnny Lin
CIRES, University of Colorado
Work Phone: (303) 735-1636
Web: http://cires.colorado.edu/~johnny/
-------------------------------------------
Thomas Jordi <tschordi@giub.unibe.ch> wrote in message
news:<3D6A264B.8AC8B203@giub.unibe.ch>...
> Hi
> I've written some procedures to handle spcific files. This uses a quite
> large amount of CPU-time.
> I'd like to start IDL in a batch mode, meaning that it starts, executes
> a batch file and starts runnig for some days. It is easy done with the
> startup-variable, but is there a way to start IDL itself in a batchmode,
> so I'm not lockin a terminal for 10 days?
>
> any help would be great..
>
> thomas
|
|
|