Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
faq:chimie:dalton [2018/07/23 13:42] – créée tjiangfaq:chimie:dalton [2021/10/08 13:49] (Version actuelle) – [Submission script dalton] tjiang
Ligne 1: Ligne 1:
 ====== DALTON ====== ====== DALTON ======
 +===== Submission script dalton =====
 +<code bash sub_dalton.sh>
 +#!/bin/bash
 +#$ -S /bin/bash
 +#$ -N test
 +#$ -q E5-2670deb64A,E5-2670deb64B,E5-2670deb64C
 +#$ -pe mpi16_debian 16
 +#$ -V
 +#$ -cwd
  
 +## Environement (SGE, VASP, MPI)
 +source /usr/share/modules/init/bash
 +module use /home/tjiang/modules/lmod
 +module load dalton/2016-ompi
 +#module load dalton/2016-ompi-with_yttrium
 +#module load dalton/2016-omp
 +
 +if [[ -d "/scratch/Chimie" ]]
 +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>
faq/chimie/dalton.1532353322.txt.gz · Dernière modification : 2020/08/25 15:58 (modification externe)