Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
documentation:tutorials:submit:jobsequentielbash [2020/05/13 14:58] – fleroux | documentation:tutorials:submit:jobsequentielbash [2021/01/14 15:55] (Version actuelle) – [job séquentiel (shell bash)] cicaluga | ||
---|---|---|---|
Ligne 89: | Ligne 89: | ||
module load GCC/ | module load GCC/ | ||
- | ### definition SCRATCHDIR | + | ### definition SCRATCHDIR |
- | SCRATCHDIR=/ | + | |
+ | if [[ -d "/ | ||
+ | then | ||
+ | SCRATCHDIR="/ | ||
+ | elif [[ -d "/ | ||
+ | then | ||
+ | SCRATCHDIR="/ | ||
+ | else | ||
+ | echo " | ||
+ | SCRATCHDIR=" | ||
+ | fi | ||
+ | |||
+ | ###SCRATCHDIR=/ | ||
### verif SCRATCHDIR | ### verif SCRATCHDIR | ||
echo " | echo " |