... | @@ -1007,12 +1007,30 @@ More: |
... | @@ -1007,12 +1007,30 @@ More: |
|
| --- | --- | --- |
|
|
| --- | --- | --- |
|
|
| Script directive | #$ | #SBATCH |
|
|
| Script directive | #$ | #SBATCH |
|
|
| queue | -q [queue] | -p [partition] |
|
|
| queue | -q [queue] | -p [partition] |
|
|
|
|
| count of nodes | N/A | -N [min[-max]] |
|
|
|
|
| CPU count | -pe [PE] [count] | -n [count] |
|
|
|
|
| Wall clock limit | -l h_rt=[seconds] | -t [min] OR -t [days-hh:mm:ss] |
|
|
|
|
| Standard out file | -o [file_name] | -o [file_name] |
|
|
|
|
| Standard error file | -e [file_name] | -e [file_name] |
|
|
|
|
| Combine STDOUT & STDERR files | -j yes | (use -o without -e) |
|
|
|
|
| Copy environment | -V | --export=[ALL | NONE | variables] |
|
|
|
|
| Event notification | -m abe | --mail-type=[events] --mail-type=ALL (any event) --mail-type=END (job end) |
|
|
|
|
| Send notification email | -M [address] | --mail-user=[address] |
|
|
|
|
| Job name | -N [name] | --job-name=[name] [-J] |
|
|
|
|
| Restart job | -r [yes|no] | --requeue OR --no-requeue NOTE: configurable default) |
|
|
|
|
| Set working directory | -wd [directory] | --workdir=[dir_name] [-D] |
|
|
|
|
| Resource sharing | -l exclusive | --exclusive OR --shared |
|
|
|
|
| Memory size | -l mem_free=[memory][K|M|G] | --mem=[mem][M|G|T] OR --mem-per-cpu=[mem][M|G|T] |
|
|
|
|
| Charge to an account | -A [account] | --account=[account] |
|
|
|
|
| Tasks per node | (Fixed allocation_rule in PE) | --tasks-per-node=[count] --cpus-per-task=[count] |
|
|
|
|
| Job dependency | -hold_jid [job_id | job_name] | --depend=[state:job_id] |
|
|
|
|
| Job project | -P [name] | --wckey=[name] |
|
|
|
|
| Job host preference | -q [queue]@[node] OR -q [queue]@@[hostgroup] | --nodelist=[nodes] AND/OR --exclude=[nodes] |
|
|
|
|
| Quality of service | | --qos=[name] |
|
|
|
|
| Job arrays | -t [array_spec] | --array=[array_spec] |
|
|
|
|
| Generic Resources | -l [resource]=[value] | --gres=[resource_spec] |
|
|
|
|
| Licenses | -l [license]=[count] | --licenses=[license_spec] |
|
|
|
|
| Begin Time | -a [YYMMDDhhmm] | --begin=YYYY-MM-DD[THH:MM[:SS]] |
|
|
|
|
|
|
|
|
|
|
|
|
|
... | | ... | |