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