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