-
Notifications
You must be signed in to change notification settings - Fork 1
/
script_for_computing_EPRL_vertex_ampls.sh
64 lines (44 loc) · 1.25 KB
/
script_for_computing_EPRL_vertex_ampls.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
#SBATCH -A def-vidotto
#SBATCH --ntasks=80
#SBATCH --cpus-per-task=10
#SBATCH --mem-per-cpu=4G
#SBATCH --time=3-0:00:00
#SBATCH --job-name=vertex_ampl
#SBATCH --output=vertex_ampl.log
#SBATCH --error=vertex_ampl.err
#SBATCH --mail-type=BEGIN,FAIL,END
#SBATCH [email protected]
echo "Running on: $SLURM_NODELIST"
echo
# start commands
BASEDIR=/home/frisus95/projects/def-vidotto/frisus95/sl2cfoam_next
DATADIR=/home/frisus95/projects/def-vidotto/frisus95/sl2cfoam_next/data_sl2cfoam
export LD_LIBRARY_PATH="${BASEDIR}/lib":$LD_LIBRARY_PATH
# number of OpenMP threads
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
IMMIRZI=0.1
SHELLSMin=16
SHELLSMax=25
CURRENTSHELLS=$SHELLSMin
TCURRENTSPIN=2
while [ $CURRENTSHELLS -le $SHELLSMax ]
do
TJS=$(( TCURRENTSPIN ))
SHELLS=$(( CURRENTSHELLS ))
for TJBULK in 0 2 4 6
do
now=$(date)
echo
echo "Starting Lorentzian fulltensor [ IMMIRZI = ${IMMIRZI} TWICESPIN = ${TJS} TWICEJBULK = ${TJBULK}, shells = ${SHELLS} ]... (now: $now)"
$BASEDIR/bin/vertex-fulltensor -V -h -m 2000 $DATADIR $IMMIRZI $TJS,$TJS,$TJS,$TJS,$TJS,$TJS,$TJS,$TJBULK,$TJS,$TJS $SHELLS
now=$(date)
echo "... done (now: $now)"
echo
# jbulk cycle
done
let CURRENTSHELLS=CURRENTSHELLS+1
# shell cycle
done
echo
echo "All completed."