-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsrun_FCIs.sh
100 lines (96 loc) · 4.8 KB
/
srun_FCIs.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/bash
SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_-1/*"
for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
do
FILE="$(basename "$FILE_PATH")" # strip the file from the path
sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
--mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
--cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
done
SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_1/*"
for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
do
FILE="$(basename "$FILE_PATH")" # strip the file from the path
sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
--mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
--cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_-2/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
# --cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
#done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_2/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
# --cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
#done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_-3/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
# --cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
#done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_3/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=100G --ntasks=1 \
# --cpus-per-task=16 --threads-per-core=1 "$FILE_PATH"
#done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_-4/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=100G --ntasks=1 \
# --cpus-per-task=16 --threads-per-core=1 "$FILE_PATH"
#done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_4/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
# --cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
#done
#
#SLOGS="/home/cluster/baandr/infinite_cylinder/slogs"
#SJOBS_FILES="/home/cluster/baandr/infinite_cylinder/sjobs/Hof_FCIs/r_-5/*"
#
#for FILE_PATH in $(ls $SJOBS_FILES | sort -h -t '_' -k5,5n -k13,13n) # sort by chi, then q
#do
# FILE="$(basename "$FILE_PATH")" # strip the file from the path
# sbatch --output=$SLOGS/"$FILE".out --error=$SLOGS/"$FILE".err --job-name="$FILE" --mail-type=ALL \
# --mail-user=bandrews@physik.uzh.ch --qos=long --time=168:00:00 --mem=185G --ntasks=1 \
# --cpus-per-task=12 --threads-per-core=1 "$FILE_PATH"
#done