[torqueusers] Runnig a script after job completion

Glen Beane glen.beane at gmail.com
Fri Oct 12 09:56:19 MDT 2007

On 10/11/07, Chaitanya Krishna <icymist at gmail.com> wrote:
> Hello all,
> I have been searching for a simple solution to my problem but havent
> been ablt to find any till now.
> I tried the archives too. May be my search terms weren't good enough!!
> I want to run a shell script after a job that I submit using qsub is
> over. Is this possible? If so how?
> To elaborate on the question. I submit a job using qsub, then I need
> to check the output to see if the calculation has converged. If it
> hasn't converged I need to copy the outputfiles that I have at present
> and then continue the job using another qsub command. Is this
> possible?
> In a nut shell whenever the job submitted using qsub is finished in
> should trigger a shell script.

you can do this right in your job script.  After you run your
executable check the output and submit another job with qsub if

More information about the torqueusers mailing list