Hello,
I want to run a series of chained jobs, namely the second job will start when the first job is done, the third job will start when the second is done, and so on. I understand I can take advantage job dependencies by using the "bsub -w" option. But since the number of jobs is no small, I prefer using a shell script to do job submission. And my question is how to pass the job id of the previous job to the submission command of the next job in a shell script.
Thank you!
David


LinkBack URL
About LinkBacks
Reply With Quote
