User Tools

Site Tools


job_dependencies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
job_dependencies [2014/11/04 22:20]
root
job_dependencies [2014/11/04 22:59] (current)
root
Line 4: Line 4:
  
 This code uses **srun -d afterok:NNNNN** to wait for some jobs submitted using sbatch to complete. This code uses **srun -d afterok:NNNNN** to wait for some jobs submitted using sbatch to complete.
 +
 +**Warning:** This only seems to work if you run the control script directly on the head node! (i.e. if you use sbatch or srun to execute the script the code does not actually wait for the dependencies to complete). Not sure why.
  
 <code> <code>
job_dependencies.1415157638.txt.gz · Last modified: 2014/11/04 22:20 by root