Home »
Public Forums »
archive »
Re: Background batch jobs in IDL
Re: Background batch jobs in IDL [message #12145] |
Wed, 01 July 1998 00:00 |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
Eric Williams <ewilliams@wesleyan.edu> writes:
> I seem to remember being able to run IDL batch jobs in the background on
> a UNIX system and now I can't remember if I just made that up or not. I
> know I can run @batchfilename at the IDL command line but is there a way
> of running the batch file name in the background so I can logout and
> come back later?
I suspect that what you want to do is to create a file something like the
following:
#!/bin/csh
idl << done
... IDL commands ...
done
You can then submit this to run as a batch job. I use
nice at -c -f MYFILENAME now
so that the background job will run at lower priority. In fact, I set this up
as an alias with the C-shell command
alias submit 'nice at -c -f \!* now'
so that all I have to do is say "submit" followed by the filename.
William Thompson
|
|
|
Re: Background batch jobs in IDL [message #12159 is a reply to message #12145] |
Tue, 30 June 1998 00:00  |
biomedical
Messages: 13 Registered: January 1998
|
Junior Member |
|
|
Use nohup if you like.
nohup batchfile &
Ding
Eric Williams wrote:
>
> I seem to remember being able to run IDL batch jobs in the background on
> a UNIX system and now I can't remember if I just made that up or not. I
> know I can run @batchfilename at the IDL command line but is there a way
> of running the batch file name in the background so I can logout and
> come back later?
>
> Thanks in advance, sorry my brain is in lock mode today.
>
> Eric Williams
> ewilliams@wesleyan.edu
|
|
|
Current Time: Wed Oct 08 15:28:52 PDT 2025
Total time taken to generate the page: 0.00519 seconds