@@ -28,6 +28,15 @@ Here are some self-explanatory job script examples for several softwares/applica
...
@@ -28,6 +28,15 @@ Here are some self-explanatory job script examples for several softwares/applica
* Molpro job.
* Molpro job.
* R job.
* R job.
## Usage of the /scratch space in jobs
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.
by
il est créé automatiquement lorsqu'un travail batch démarre : il est donc unique à chaque travail;
il est détruit automatiquement à la fin de ce travail : il faut donc recopier explicitement les fichiers importants sur un autre espace disque permanent (le WORKDIR par exemple) avant la fin du travail.