... | @@ -31,7 +31,7 @@ Here are some self-explanatory job script examples for several softwares/applica |
... | @@ -31,7 +31,7 @@ Here are some self-explanatory job script examples for several softwares/applica |
|
## Usage of the scratch space in jobs
|
|
## Usage of the scratch space in jobs
|
|
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 read and write 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` 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**.
|
|
|
|
|
... | | ... | |