-
Notifications
You must be signed in to change notification settings - Fork 0
/
count_instance_DT2.sh
56 lines (50 loc) · 5.55 KB
/
count_instance_DT2.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
#!/bin/bash
# count instance script
grep "Solve " console_ndiff2_1D_DT2_00.txt | grep -v initial| grep -v adjoint|wc -l > ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_01.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_02.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_03.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_04.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_05.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_06.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_1D_DT2_07.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_00.txt | grep -v initial| grep -v adjoint|wc -l > iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_06.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqs2_1D_DT2_07.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_00.txt | grep -v initial| grep -v adjoint|wc -l > iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_06.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_iqspc2_1D_DT2_07.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_1D_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_00.txt | grep -v initial| grep -v adjoint|wc -l > ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_01.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_02.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_03.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_04.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_05.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_06.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_ndiff2_TWIGL_ramp_DT2_07.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_00.txt | grep -v initial| grep -v adjoint|wc -l > iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_06.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqs2_TWIGL_ramp_DT2_07.txt | grep -v initial| grep -v adjoint|wc -l >> iqs2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_00.txt | grep -v initial| grep -v adjoint|wc -l > iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_06.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv
grep "Solve " console_iqspc2_TWIGL_ramp_DT2_07.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc2_TWIGL_ramp_DT2_Solve.csv