| 98 | |
| 99 | # JeanZay job headers # |
| 100 | Here is an example of a job header as generated by libIGCM on the JeanZay machine: |
| 101 | |
| 102 | {{{ |
| 103 | ###################### |
| 104 | ## JEANZAY IDRIS ## |
| 105 | ###################### |
| 106 | #SBATCH --job-name=MY-SIMULATION |
| 107 | #SBATCH --output=Script_Output_MY-SIMULATION.000001 |
| 108 | #SBATCH --error=Script_Output_MY-SIMULATION.000001 |
| 109 | #SBATCH --ntasks=443 |
| 110 | #SBATCH --cpus-per-task=8 |
| 111 | #SBATCH --hint=nomultithread |
| 112 | #SBATCH --time=00:30:00 |
| 113 | #SBATCH --account gzi@cpu |
| 114 | }}} |
| 115 | |
| 116 | Details are as follows: |
| 117 | |
| 118 | || '''Control''' || '''Keyword''' || '''Argument''' || '''Example''' || '''Comments''' || |
| 119 | || ''Job name'' || {{{--job-name}}} || string || {{{#SBATCH --job-name=Job_MY-SIMULATION}}} || || |
| 120 | || ''Standard output file name'' || {{{--output}}} || string || {{{#SBATCH --ouput=Script_Output_MY-SIMULATION.000001}}} || || |
| 121 | || ''Error output file name'' || {{{--error}}} || string || {{{#SBATCH --error=Script_Output_MY-SIMULATION.000001}}} || || |
| 122 | || ''Number of MPI tasks'' || {{{--ntasks}}} || integer || {{{#SBATCH --ntasks=443}}} || || |
| 123 | || ''Number of OpenMP threads'' || {{{--cpus-per-task}}} || integer || {{{#SBATCH --cpus-per-task=8}}} || || |
| 124 | || ''To allocate one thread per physical core'' || {{{--hint}}} || {{{nomultithread}}} || {{{#SBATCH --hint=nomultithread}}} || "Multithread" does indeed refer to hyperthreading for Slurm. || |
| 125 | || ''Wall-time (maximum time allowed for execution)'' || {{{--time}}} || date HH:MM:SS || {{{#SBATCH --time=24:00:00}}} || || |
| 126 | || ''Account used'' || {{{--account}}} || string || {{{#SBATCH --account=myaccount@cpu}}} || || |