Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
|
job_dependencies [2014/11/04 22:58] root |
job_dependencies [2014/11/04 22:59] (current) root |
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). | **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> |