in reply to submitting job to a queue
Queueing is asynchronous by nature, qsub will only submit the job. I see several possible solutions:
- Check qstat periodically, until it says the job is finished
- Use some synchronization tool, e.g. hang your controlling script on a semaphore and change your queued script to raise this semaphore when it's finished
- when submitting the job, tell the batch server to mail you when job's status changes, handle the incoming mail by some script. That's probably too complicated for this case
|
|---|