Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-01-2012, 10:04 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 9

Rep: Reputation: 0
qsub -hold_jid job dependency - what happens if job doesn't finish

I've just begun using job dependencies, with qsub -hold_jid, passing in the job id of a task that must finish in advance of the current job.

I am wondering whether the job associated with the jobid I pass in must finish properly before the job in hqw status will get scheduled. The man page says, "If any of the referenced jobs exits with exit code 100, the submitted job will remain ineligible for execution."

How would I look up what exit code 100 indicates?

I basically want to know what happens if the independent job runs out of time without completing its task (if I hadn't allocated enough time for it to complete). Technically, it will no longer be running, and I am trying to figure out whether the -hold_jid option can differentiate between this case, and the job having exited properly. I don't want to run my dependent job on partially-analyzed data.

Did that make sense?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
qsub pvm job vunal Linux - Software 5 10-26-2010 04:39 PM

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration