Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
documentation:tutorials:submit:jobsequentielbash [2020/05/13 14:58] flerouxdocumentation:tutorials:submit:jobsequentielbash [2021/01/14 15:55] (Version actuelle) – [job séquentiel (shell bash)] cicaluga
Ligne 89: Ligne 89:
 module load GCC/7.2.0  module load GCC/7.2.0 
  
-### definition SCRATCHDIR +### definition SCRATCHDIR en fonction de la partition existent 
-SCRATCHDIR=/scratch/E5N/votre_login/Formations/Sequentiel+ 
 +if [[ -d "/scratch/Lake" ]] 
 +then 
 +    SCRATCHDIR="/scratch/Lake/${USER}/${JOB_ID}/" 
 +elif [[ -d "/scratch/E5N" ]] 
 +then 
 +    SCRATCHDIR="/scratch/E5N/${USER}/${JOB_ID}/"  
 +else 
 +    echo "Cannot create ${SCRATCHDIR} on /scratch, creating it in the current directory" 
 +    SCRATCHDIR="${SGE_O_WORKDIR}/scratch/" 
 +fi 
 + 
 +###SCRATCHDIR=/scratch/E5N/votre_login/Formations/Sequentiel 
 ### verif SCRATCHDIR ### verif SCRATCHDIR
 echo "SCRATCHDIR=${SCRATCHDIR}" echo "SCRATCHDIR=${SCRATCHDIR}"
documentation/tutorials/submit/jobsequentielbash.1589381921.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)