28.10.2014 Views

Synergy User Manual and Tutorial. - THE CORE MEMORY

Synergy User Manual and Tutorial. - THE CORE MEMORY

Synergy User Manual and Tutorial. - THE CORE MEMORY

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Synergy</strong> <strong>User</strong> <strong>Manual</strong> <strong>and</strong> <strong>Tutorial</strong><br />

)<br />

-> f: problem<br />

(type = TS)<br />

-> m: worker = tupleMat2Worker<br />

(type = slave)<br />

-> f: result<br />

(type = TS)<br />

-> m: master;<br />

The screen output for the master terminal with <strong>Synergy</strong>’s initialization <strong>and</strong> termination<br />

output removed should resemble:<br />

[c615111@owin ~/fpc07new ]>prun tupleMat2<br />

Master: Opening tuple spaces<br />

CID starting program. path (bin/tupleMat2Worker)<br />

Master: Tuple spaces open complete<br />

Master: Processors 2<br />

Master: Chunk size 200<br />

Master: Starting C = A . B<br />

on 500 x 500 matrices<br />

Master: Putting B Length(2000000) Name(B)<br />

Worker: Opening tuple spaces<br />

Worker: Tuple spaces open complete<br />

Master: Putting chunk_size Length(4) Name(chunk_size)<br />

Master: Ai tplength = (800016)<br />

Master: Putting A in problem tuple space<br />

Master: chunk_size(200) remaining(300)<br />

Master: chunk_size(200) remaining(100)<br />

Worker: chunk_size 200 matrix_row 200<br />

Master: chunk_size(100) remaining(0)<br />

Worker: Putting 200<br />

Master: Recieved 0 Size 200<br />

Master: Recieved<br />

Master: Recieved 200 Size 200<br />

Master: Recieved<br />

Master: Recieved 400 Size 100<br />

Master: Recieved<br />

Master: The multiplication took 9.66808 seconds total time<br />

Master: The workers used 15.0322 seconds of processor time<br />

Master: C is Identity Matrix<br />

Worker: Recieved the terminal signal<br />

Master: Terminated<br />

Worker: Terminated<br />

== (tupleMat2) completed. Elapsed [10] Seconds.<br />

[c615111@owin ~/fpc07new ]><br />

The screen output for the worker terminal with <strong>Synergy</strong>’s initialization <strong>and</strong> termination<br />

output removed should resemble:<br />

Worker: Opening tuple spaces<br />

Worker: Tuple spaces open complete<br />

Worker: chunk_size 200 matrix_row 0<br />

Worker: Putting 0<br />

183

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!