Changes between Version 62 and Version 63 of cypress/using
- Timestamp:
- 09/27/21 18:08:21 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/using
v62 v63 335 335 336 336 == Running Manny !Serial/Parallel Jobs == 337 337 === Jobs Array === 338 338 If you are running a large number of serial jobs, it is recommended to submit them as a '''job array''' to make the best use of your allocated resources. For example, suppose you are running 100 serial jobs using scripts located in a "scripts" folder, each of which does a serial calculation: scripts/run1.sh, scripts/run2.sh, ..., scripts/run100.sh. You would create an sbatch script named "run100scripts.srun" with contents: 339 339 … … 367 367 368 368 See [https://wiki.hpc.tulane.edu/trac/wiki/Workshops/cypress/JobArrays here] for more about job-array. 369 370 === Jobs Dependency === 371 Job dependencies are used to defer the start of a job until the specified dependencies have been satisfied. They are specified with the —dependency option to sbatch command. 372 373 sbatch --dependency=<type:job_id[:job_id][,type:job_id[:job_id]]> ... 374 Dependency types: 375 376 after:jobid[:jobid…] job can begin after the specified jobs have started 377 afterany:jobid[:jobid…] job can begin after the specified jobs have terminated 378 afternotok:jobid[:jobid…] job can begin after the specified jobs have failed 379 afterok:jobid[:jobid…] job can begin after the specified jobs have run to completion with an exit code of zero (see the user guide for caveats). 380 381 See [https://wiki.hpc.tulane.edu/trac/wiki/Workshops/cypress/JobDependency here] for more about job-dependency. 369 382 370 383 == Submitting Interactive Jobs ==