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

Home » Public Forums » archive » Re: submit idl job with AT command?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: submit idl job with AT command? [message #38960 is a reply to message #38958] Thu, 01 April 2004 21:23 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <7f0cc27.0404011908.3562b15@posting.google.com>,
tbeetz@yahoo.com (Tobi) wrote:

> i am trying to run a calculation on a remote computer. since it takes
> a long time for it to finish, i would like to submit it as a job and
> then eventually even close the shell and not worry about it. here is
> what i have been trying to do:


Here is a short script called run_test that runs the IDL program TEST
in the background:


#!/bin/tcsh

#To run use:
#nohup run_test &

(echo .run tes ; \
echo TEST ; \
echo exit) | \
idl >>test.out


This particular program uses t-shell, but similar things
work in other shells. You can queue up whatever IDl commands you
want with echo and then pipe them to idl. You can even pass
arguments to the IDL program from the command line
this way. Output is redirected to test.out. You can logout
after starting the job.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Tabulated output
Next Topic: Re: Need help with value_locate and interpolation

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

Current Time: Thu Oct 09 23:12:31 PDT 2025

Total time taken to generate the page: 0.71858 seconds