The `/scratch` space is only accessible in batch jobs using the `SCRATCHDIR` variable.
The `/scratch` space is only accessible in batch jobs using the `SCRATCHDIR`environment variable.
A temporary directory named `$SCRATCHDIR` is automatically created in `/scratch` when a batch job begins. Each job is granted a specific `$SCRATCHDIR` directory where it can write and read its execution temporary files.