Title: COMP309/509 - Lecture 19 class: middle, center, inverse
bourbaki Mon May 11 Torus $ ./mkMatrices ~/A ~/B ~/C 2000
Done writing files
bourbaki Mon May 11 Torus $ ./spmm.1 ~/A ~/B ~/C 2000
Done smoothly after 84 seconds
bourbaki Mon May 11 Torus $ ls -lh ~/A ~/B ~/C
-rw------- 1 comp309 comp309 16M May 11 20:57 /homes/unit/comp309/A
-rw------- 1 comp309 comp309 16M May 11 20:57 /homes/unit/comp309/B
-rw-rw-r-- 1 comp309 comp309 16M May 11 20:58 /homes/unit/comp309/C
bourbaki Mon May 11 Torus $
bourbaki Mon May 11 Torus $ ./mm.0.4 ~/A ~/B ~/C 2 1000
Task 262243 with:
m = 2
blksize = 1000
ntask = 4
Spawning 3 tasks
Waiting at barrier
Crossed barrier
Opening, allocating and initializing matrices
Finished opening, allocating and initializing matrices
Looping: iteration 1 out of a total of 2
Looping: iteration 2 out of a total of 2
Finished computation
Waiting at barrier
Crossed barrier
Writing C
mm.0.4 2 1000 task 262243 done successfully after 26 seconds.
bourbaki Mon May 11 Torus $ ./mm.0.4 ~/A ~/B ~/C 4 500
Task 262240 with:
m = 4
blksize = 500
ntask = 16
Spawning 15 tasks
Waiting at barrier
Crossed barrier
Opening, allocating and initializing matrices
Finished opening, allocating and initializing matrices
Looping: iteration 1 out of a total of 4
Looping: iteration 2 out of a total of 4
Looping: iteration 3 out of a total of 4
Looping: iteration 4 out of a total of 4
Finished computation
Waiting at barrier
Crossed barrier
Writing C
mm.0.4 4 500 task 262240 done successfully after 9 seconds.
bourbaki Mon May 11 Torus $ ./mm.0.4 ~/A ~/B ~/C 8 250
Task 262158 with:
m = 8
blksize = 250
ntask = 64
Spawning 63 tasks
Waiting at barrier
Crossed barrier
Opening, allocating and initializing matrices
Finished opening, allocating and initializing matrices
Looping: iteration 1 out of a total of 8
Looping: iteration 2 out of a total of 8
Looping: iteration 3 out of a total of 8
Looping: iteration 4 out of a total of 8
Looping: iteration 5 out of a total of 8
Looping: iteration 6 out of a total of 8
Looping: iteration 7 out of a total of 8
Looping: iteration 8 out of a total of 8
Finished computation
Waiting at barrier
Crossed barrier
Writing C
mm.0.4 8 250 task 262158 done successfully after 8 seconds.
bourbaki Mon May 11 Torus $ ./mm.0.4 ~/A ~/B ~/C 16 125
Task 262166 with:
m = 16
blksize = 125
ntask = 256
Spawning 255 tasks
Waiting at barrier
Crossed barrier
Opening, allocating and initializing matrices
Finished opening, allocating and initializing matrices
Looping: iteration 1 out of a total of 16
Looping: iteration 2 out of a total of 16
Looping: iteration 3 out of a total of 16
Looping: iteration 4 out of a total of 16
Looping: iteration 5 out of a total of 16
Looping: iteration 6 out of a total of 16
Looping: iteration 7 out of a total of 16
Looping: iteration 8 out of a total of 16
Looping: iteration 9 out of a total of 16
Looping: iteration 10 out of a total of 16
Looping: iteration 11 out of a total of 16
Looping: iteration 12 out of a total of 16
Looping: iteration 13 out of a total of 16
Looping: iteration 14 out of a total of 16
Looping: iteration 15 out of a total of 16
Looping: iteration 16 out of a total of 16
Finished computation
Waiting at barrier
Crossed barrier
Writing C
mm.0.4 16 125 task 262166 done successfully after 11 seconds.
bourbaki Mon May 11 Torus $ ./mm.0.4 ~/A ~/B ~/C 20 100
Task 262195 with:
m = 20
blksize = 100
ntask = 400
Spawning 399 tasks
Waiting at barrier
Crossed barrier
Opening, allocating and initializing matrices
Finished opening, allocating and initializing matrices
Looping: iteration 1 out of a total of 20
Looping: iteration 2 out of a total of 20
Looping: iteration 3 out of a total of 20
Looping: iteration 4 out of a total of 20
Looping: iteration 5 out of a total of 20
Looping: iteration 6 out of a total of 20
Looping: iteration 7 out of a total of 20
Looping: iteration 8 out of a total of 20
Looping: iteration 9 out of a total of 20
Looping: iteration 10 out of a total of 20
Looping: iteration 11 out of a total of 20
Looping: iteration 12 out of a total of 20
Looping: iteration 13 out of a total of 20
Looping: iteration 14 out of a total of 20
Looping: iteration 15 out of a total of 20
Looping: iteration 16 out of a total of 20
Looping: iteration 17 out of a total of 20
Looping: iteration 18 out of a total of 20
Looping: iteration 19 out of a total of 20
Looping: iteration 20 out of a total of 20
Finished computation
Waiting at barrier
Crossed barrier
Writing C
mm.0.4 20 100 task 262195 done successfully after 12 seconds.
bourbaki Mon May 11 Torus $ mkBlocks /tmp/A /tmp/B /tmp/C 4 100
Done writing files
bourbaki Mon May 11 Torus $ ls -l /tmp/A*
-rw------- 1 comp309 comp309 0 May 11 21:42 /tmp/A
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.0.0
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.0.1
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.0.2
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.0.3
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.1.0
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.1.1
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.1.2
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.1.3
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.2.0
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.2.1
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.2.2
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.2.3
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.3.0
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.3.1
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.3.2
-rw------- 1 comp309 comp309 40000 May 11 21:42 /tmp/A.3.3
bourbaki.une.edu.au.mmult>
bourbaki.une.edu.au.mmult> mm.0.5 /tmp/A /tmp/B /tmp/C 4 100
mm.0.5 4 100 task 262181 done successfully after 7 seconds.
bourbaki.une.edu.au.mmult> cmp /tmp/A.2.3 /tmp/C.2.3
bourbaki.une.edu.au.mmult>
bourbaki.une.edu.au.mmult> mkBlocks /tmp/A /tmp/B /tmp/C 4 200
Done writing files
bourbaki.une.edu.au.mmult> mm.0.5 /tmp/A /tmp/B /tmp/C 4 200
mm.0.5 4 200 task 262197 done successfully after 47 seconds.
bourbaki.une.edu.au.mmult>
bourbaki.une.edu.au.mmult> mkBlocks /tmp/A /tmp/B /tmp/C 4 300
Done writing files
bourbaki.une.edu.au.mmult> mm.0.5 /tmp/A /tmp/B /tmp/C 4 300
mm.0.5 4 300 task 262213 done successfully after 163 seconds.
bourbaki.une.edu.au.mmult>
bourbaki.une.edu.au.mmult> mm.0.5 /tmp/A /tmp/B /tmp/C 4 400
mm.0.5 4 400 task 262229 done successfully after 525 seconds.
bourbaki.une.edu.au.mmult> cmp /tmp/A.0.3 /tmp/C.0.3
bourbaki.une.edu.au.mmult>
bourbaki.une.edu.au.mmult> mkBlocks /tmp/A /tmp/B /tmp/C 4 500
write failed: Success
write of matrix C: Success
Done writing files
bourbaki.une.edu.au.mmult>
class: middle, center, inverse