Changes between Version 62 and Version 63 of cypress/using


Ignore:
Timestamp:
09/27/21 18:08:21 (3 years ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/using

    v62 v63  
    335335
    336336== Running Manny !Serial/Parallel Jobs ==
    337 
     337=== Jobs Array ===
    338338If 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:
    339339
     
    367367
    368368See [https://wiki.hpc.tulane.edu/trac/wiki/Workshops/cypress/JobArrays here] for more about job-array.
     369
     370=== Jobs Dependency ===
     371Job 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
     373sbatch --dependency=<type:job_id[:job_id][,type:job_id[:job_id]]> ...
     374Dependency types:
     375
     376after:jobid[:jobid…] job can begin after the specified jobs have started
     377afterany:jobid[:jobid…] job can begin after the specified jobs have terminated
     378afternotok:jobid[:jobid…] job can begin after the specified jobs have failed
     379afterok: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
     381See [https://wiki.hpc.tulane.edu/trac/wiki/Workshops/cypress/JobDependency here] for more about job-dependency.
    369382
    370383== Submitting Interactive Jobs ==