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
faq:chimie:dalton [2020/06/22 12:16] – [Submission script dalton] tjiangfaq:chimie:dalton [2021/10/08 13:49] (Version actuelle) – [Submission script dalton] tjiang
Ligne 19: Ligne 19:
 if [[ -d "/scratch/Chimie" ]] if [[ -d "/scratch/Chimie" ]]
 then then
-    DALTON_TMPDIR=/scratch/Chimie/$USER/$JOB_ID/+    DALTON_TMPDIR="/scratch/Chimie/${USER}/${JOB_ID}/"
 elif [[ -d "/scratch/Lake" ]] elif [[ -d "/scratch/Lake" ]]
 then then
-    DALTON_TMPDIR=/scratch/Lake/$USER/$JOB_ID/+    DALTON_TMPDIR="/scratch/Lake/${USER}/${JOB_ID}/"
 elif [[ -d "/scratch/E5N" ]] elif [[ -d "/scratch/E5N" ]]
 then then
-    DALTON_TMPDIR=/scratch/E5N/$USER/$JOB_ID/ +    DALTON_TMPDIR="/scratch/E5N/${USER}/${JOB_ID}/"
-elif [[ -d "/scratch/E5" ]] +
-then +
-    DALTON_TMPDIR=/scratch/E5/$USER/$JOB_ID/+
 else else
-    echo "/scratch not found, cannot create ${SCRATCHDIR}, fall back to current directory+    echo "/scratch not found, cannot create ${SCRATCHDIR}" 
-    DALTON_TMPDIR=${SGE_O_WORKDIR}+    exit 1
 fi fi
  
-dalton -t $DALTON_TMPDIR -noappend -omp 16 -mb 16000 dalinp.dal moinp.mo+dalton -t "${DALTON_TMPDIR}" -noappend -omp 16 -mb 16000 dalinp.dal moinp.mo 
 +rm -rf "${DALTON_TMPDIR}"
 </code> </code>
faq/chimie/dalton.1592828213.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)