Statistiques
| Révision :

chimie4psmn / submit / adf / run_adf.sh @ 9

Historique | Voir | Annoter | Télécharger (627 octet)

1 3 ltaulell
#!/bin/bash
2 3 ltaulell
#$ -S /bin/bash
3 3 ltaulell
#$ -N TO_CHANGE
4 3 ltaulell
#$ -q E5-2670deb64*
5 3 ltaulell
#$ -pe mpi16_debian 16
6 3 ltaulell
#$ -m be
7 3 ltaulell
#$ -cwd
8 3 ltaulell
#$ -V
9 3 ltaulell
10 3 ltaulell
# Version: $Id$
11 3 ltaulell
12 3 ltaulell
# env first
13 3 ltaulell
source /usr/share/modules/init/bash
14 3 ltaulell
module use /applis/PSMN/Modules
15 3 ltaulell
module load Base/psmn
16 3 ltaulell
module load ADF/2014.10
17 3 ltaulell
# also add the SCMLICENCE line to ~/.cshrc or ~/.bashrc
18 3 ltaulell
export SCMLICENCE=/applis/PSMN/generic/adf/license.2016.txt
19 5 ltaulell
export SCM_TMPDIR=/scratch/LOGIN
20 3 ltaulell
21 5 ltaulell
DATADIR="/home/LOGIN/path/to"
22 3 ltaulell
23 3 ltaulell
# Declaration used by the batch system
24 5 ltaulell
HOSTFILE=${TMPDIR}/machines
25 5 ltaulell
export SCM_MACHINEFILE=${TMPDIR}/machines
26 5 ltaulell
export NSCM=${NSLOTS}
27 3 ltaulell
#
28 3 ltaulell
cd ${DATADIR}
29 3 ltaulell
#
30 3 ltaulell
${ADFBIN}/adf < ${DATADIR}/input_adf.run
31 5 ltaulell
#