Filename pattern#
sbatch allows for a filename pattern to contain one or more replacement symbols, which are a percent sign "%" followed by a letter (e.g. %j).
| Symbol | |
|---|---|
| %% | The character "%". |
| %A | Job array's master job allocation number. |
| %a | Job array ID (index) number. |
| %J | jobid.stepid of the running job. (e.g. "128.0") |
| %j | jobid of the running job. |
| %N | short hostname. This will create a separate IO file per node. |
| %n | Node identifier relative to current job (e.g. "0" is the first node of the running job) This will create a separate IO file per node. |
| %s | stepid of the running job. |
| %t | task identifier (rank) relative to current job. This will create a separate IO file per task. |
| %u | User name. |
| %x | Job name. |