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