I’m writing a perl script that, among other things submits three scripts to qsub. How do I “tell” my script when the first job is complete? I assume there’s some way of accessing the variable where qsub stores the job state but I can’t figure it out.
Update: Circumvented it using a flag in qsub.
qsub -hold_jid job2 job1
Try
PBS::Client: