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` 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.
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.
The `$SCRATCHDIR` is automatically destroyed at the end of the job: **do not forget to save the `$SCRATCHDIR` important files in your home directory before the job ends**.
The `$SCRATCHDIR`directory is automatically destroyed at the end of the job: **do not forget to save the `$SCRATCHDIR` important files in your home directory before the job ends**.