added regression test for adding off processor values to matrices and vectors

This commit is contained in:
ulrikey 2013-02-09 00:46:01 +00:00
parent 388e4014f5
commit ff25070035
11 changed files with 184 additions and 0 deletions

View File

@ -0,0 +1,18 @@
0 11 0 11
0 0 1.0
1 1 1.0
2 2 1.0
3 3 1.0
4 4 1.0
5 5 1.0
6 6 1.0
7 7 1.0
8 8 1.0
9 9 1.0
10 10 1.0
11 11 1.0
14 14 1.0
18 18 1.0
25 25 1.0
29 29 1.0
35 35 1.0

View File

@ -0,0 +1,14 @@
12 16 12 16
12 12 1.0
13 13 1.0
14 14 1.0
15 15 1.0
16 16 1.0
5 5 1.0
6 6 1.0
7 7 1.0
8 8 1.0
11 11 1.0
19 19 1.0
25 25 1.0
36 36 1.0

View File

@ -0,0 +1,23 @@
17 26 17 26
5 5 1.0
10 10 1.0
11 11 1.0
12 12 1.0
13 13 1.0
14 14 1.0
15 15 1.0
16 16 1.0
17 17 1.0
18 18 1.0
19 19 1.0
20 20 1.0
21 21 1.0
22 22 1.0
23 23 1.0
24 24 1.0
25 25 1.0
26 26 1.0
27 27 1.0
28 28 1.0
29 29 1.0
35 35 1.0

View File

@ -0,0 +1,32 @@
27 39 27 39
10 10 1.0
5 5 1.0
11 11 1.0
12 12 1.0
13 13 1.0
14 14 1.0
15 15 1.0
16 16 1.0
17 17 1.0
18 18 1.0
19 19 1.0
20 20 1.0
21 21 1.0
22 22 1.0
23 23 1.0
24 24 1.0
25 25 1.0
26 26 1.0
27 27 1.0
28 28 1.0
29 29 1.0
30 30 1.0
31 31 1.0
32 32 1.0
33 33 1.0
34 34 1.0
35 35 1.0
36 36 1.0
37 37 1.0
38 38 1.0
39 39 1.0

View File

@ -0,0 +1,18 @@
0 11
0 1.0
1 1.0
2 1.0
3 1.0
4 1.0
5 1.0
6 1.0
7 1.0
8 1.0
9 1.0
10 1.0
11 1.0
14 1.0
18 1.0
25 1.0
29 1.0
35 1.0

View File

@ -0,0 +1,14 @@
12 16
12 1.0
13 1.0
14 1.0
15 1.0
16 1.0
5 1.0
6 1.0
7 1.0
8 1.0
11 1.0
19 1.0
25 1.0
36 1.0

View File

@ -0,0 +1,23 @@
17 26
5 1.0
10 1.0
11 1.0
12 1.0
13 1.0
14 1.0
15 1.0
16 1.0
17 1.0
18 1.0
19 1.0
20 1.0
21 1.0
22 1.0
23 1.0
24 1.0
25 1.0
26 1.0
27 1.0
28 1.0
29 1.0
35 1.0

View File

@ -0,0 +1,32 @@
27 39
10 1.0
5 1.0
11 1.0
12 1.0
13 1.0
14 1.0
15 1.0
16 1.0
17 1.0
18 1.0
19 1.0
20 1.0
21 1.0
22 1.0
23 1.0
24 1.0
25 1.0
26 1.0
27 1.0
28 1.0
29 1.0
30 1.0
31 1.0
32 1.0
33 1.0
34 1.0
35 1.0
36 1.0
37 1.0
38 1.0
39 1.0

View File

@ -26,3 +26,5 @@ mpirun -np 2 ./ij -rhsrand > matrix.out.0
mpirun -np 2 ./ij -rhsrand -exact_size > matrix.out.1
mpirun -np 2 ./ij -rhsrand -low_storage > matrix.out.2
mpirun -np 4 ./new_ij -fromfile A_tstoffd -rhsfromfile b_tstoffd > matrix.out.3

View File

@ -19,3 +19,10 @@
operator = 5.803438
cycle = 11.601250
# Output file: matrix.out.3
Average Convergence Factor = 0.000000
Complexity: grid = 1.000000
operator = 1.000000
cycle = 1.000000

View File

@ -37,6 +37,7 @@ FILES="\
${TNAME}.out.0\
${TNAME}.out.1\
${TNAME}.out.2\
${TNAME}.out.3\
"
for i in $FILES