-
Notifications
You must be signed in to change notification settings - Fork 0
/
count_instance_lra.sh
65 lines (56 loc) · 5.57 KB
/
count_instance_lra.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
#!/bin/bash
# count instance script
grep "Solve " console_ndiff_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > ndiff_lra_Solve.csv
grep "Solve " console_ndiff_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Solve.csv
grep "Solve " console_ndiff_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Solve.csv
grep "Solve " console_ndiff_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Solve.csv
grep "Solve " console_ndiff_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Solve.csv
grep "Solve " console_ndiff_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Solve.csv
grep "Solve " console_iqspc_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > iqspc_lra_Solve.csv
grep "Solve " console_iqspc_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Solve.csv
grep "Solve " console_iqspc_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Solve.csv
grep "Solve " console_iqspc_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Solve.csv
grep "Solve " console_iqspc_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Solve.csv
grep "Solve " console_iqspc_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Solve.csv
grep "Solve " console_iqs_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > iqs_lra_Solve.csv
grep "Solve " console_iqs_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Solve.csv
grep "Solve " console_iqs_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Solve.csv
grep "Solve " console_iqs_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Solve.csv
grep "Solve " console_iqs_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Solve.csv
grep "Solve " console_iqs_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Solve.csv
grep "Linear " console_ndiff_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > ndiff_lra_Linear.csv
grep "Linear " console_ndiff_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Linear.csv
grep "Linear " console_ndiff_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Linear.csv
grep "Linear " console_ndiff_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Linear.csv
grep "Linear " console_ndiff_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Linear.csv
grep "Linear " console_ndiff_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Linear.csv
grep "Linear " console_iqspc_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > iqspc_lra_Linear.csv
grep "Linear " console_iqspc_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Linear.csv
grep "Linear " console_iqspc_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Linear.csv
grep "Linear " console_iqspc_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Linear.csv
grep "Linear " console_iqspc_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Linear.csv
grep "Linear " console_iqspc_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Linear.csv
grep "Linear " console_iqs_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > iqs_lra_Linear.csv
grep "Linear " console_iqs_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Linear.csv
grep "Linear " console_iqs_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Linear.csv
grep "Linear " console_iqs_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Linear.csv
grep "Linear " console_iqs_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Linear.csv
grep "Linear " console_iqs_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Linear.csv
grep "Nonlinear " console_ndiff_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > ndiff_lra_Nonlinear.csv
grep "Nonlinear " console_ndiff_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Nonlinear.csv
grep "Nonlinear " console_ndiff_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Nonlinear.csv
grep "Nonlinear " console_ndiff_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Nonlinear.csv
grep "Nonlinear " console_ndiff_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Nonlinear.csv
grep "Nonlinear " console_ndiff_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> ndiff_lra_Nonlinear.csv
grep "Nonlinear " console_iqspc_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > iqspc_lra_Nonlinear.csv
grep "Nonlinear " console_iqspc_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Nonlinear.csv
grep "Nonlinear " console_iqspc_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Nonlinear.csv
grep "Nonlinear " console_iqspc_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Nonlinear.csv
grep "Nonlinear " console_iqspc_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Nonlinear.csv
grep "Nonlinear " console_iqspc_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqspc_lra_Nonlinear.csv
grep "Nonlinear " console_iqs_lra_00.txt | grep -v initial| grep -v adjoint|wc -l > iqs_lra_Nonlinear.csv
grep "Nonlinear " console_iqs_lra_01.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Nonlinear.csv
grep "Nonlinear " console_iqs_lra_02.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Nonlinear.csv
grep "Nonlinear " console_iqs_lra_03.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Nonlinear.csv
grep "Nonlinear " console_iqs_lra_04.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Nonlinear.csv
grep "Nonlinear " console_iqs_lra_05.txt | grep -v initial| grep -v adjoint|wc -l >> iqs_lra_Nonlinear.csv