Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SGE: Whats the difference between -hold_jid_ad and -hold_jid

When qsub-ing a job I want one job to wait to execute until the first one has succeeded. I've been looking at the options -hold_jid_ad and -hold_jid to do this, but can't see a difference in them.

like image 656
rainkinz Avatar asked Jun 26 '14 17:06

rainkinz


People also ask

What is difference between retirement and reemployment?

The key difference between the retirement age and the re-employment age is the fact that employers are not allowed to terminate workers before the retirement age (62) without valid reasons.

What does reemployment age mean?

The re-employment age was raised from 67 to 68 on 1 July 2022 to help older workers who wish to continue working as long as you are willing and able.

What is the current statutory retirement age?

Retirement age has been increased from 62 to 63, while the re-employment age has been upped from 67 to 68.

What does retirement age mean in Singapore?

In accordance with the Retirement and Re-employment Act ( RRA ), the minimum retirement age is 63 years. Your company cannot ask you to retire before that age. You have this protection if you: Are a Singapore citizen or Singapore permanent resident. Joined your employer before you turned 55.


1 Answers

Lets say you have jobs A and B, and A depends on B. That is you want to run something like qsub --hold_jid[_ad] B A.sh

--hold_jid_ad

This is for array jobs only. Use it if:

  • A and B are both array jobs,
  • A and B has the same range of tasts (i.e. not qsub -t 1-3 A.sh and qsub -t 2-4 B.sh),
  • A[i] depends on B[i], AND
  • A[i] does not depend on B[j] for i != j

--hold_jid

Use this is any other situation. When in doubt use this.

This is based on a diff the documentation and a few tries on our engine.

like image 173
Tobber Avatar answered Oct 20 '22 07:10

Tobber