Commit f356bf5d authored by Taddeus Kroes's avatar Taddeus Kroes

ModSim ass4 taddeus: Added Ring results.

parent c73355a4
10000,0.001152
20000,0.001798
30000,0.002437
40000,0.003495
50000,0.004134
60000,0.004724
70000,0.005199
80000,0.006190
90000,0.006594
100000,0.007421
110000,0.008252
120000,0.008618
130000,0.009534
140000,0.010049
150000,0.010690
160000,0.011426
170000,0.012239
180000,0.012887
190000,0.013566
200000,0.014115
210000,0.014889
220000,0.015771
230000,0.016182
240000,0.017071
250000,0.017550
260000,0.018441
270000,0.019228
280000,0.019627
290000,0.020410
300000,0.021236
310000,0.021670
320000,0.022459
330000,0.023245
340000,0.023754
350000,0.024423
360000,0.025058
370000,0.025854
380000,0.026491
390000,0.027148
400000,0.027968
410000,0.028658
420000,0.029207
430000,0.029903
440000,0.030673
450000,0.031362
460000,0.031991
470000,0.032612
480000,0.033465
490000,0.034044
500000,0.034769
510000,0.035462
520000,0.036127
530000,0.036768
540000,0.037520
550000,0.038137
560000,0.038832
570000,0.039530
580000,0.040168
590000,0.040853
600000,0.041537
610000,0.042215
620000,0.042935
630000,0.043547
640000,0.044308
650000,0.045002
660000,0.045658
670000,0.046256
680000,0.047002
690000,0.047663
700000,0.048414
710000,0.049018
720000,0.049786
730000,0.050440
740000,0.051024
750000,0.051866
760000,0.052463
770000,0.053150
780000,0.053784
790000,0.054520
800000,0.055188
810000,0.055829
820000,0.056522
830000,0.057289
840000,0.057917
850000,0.058601
860000,0.059391
870000,0.059984
880000,0.060629
890000,0.061299
900000,0.062087
910000,0.062726
920000,0.063300
930000,0.064054
940000,0.064732
950000,0.065388
960000,0.066182
970000,0.066812
980000,0.067623
990000,0.068166
1000000,0.068850
......@@ -3,7 +3,7 @@
#include <math.h>
#include <mpi.h>
#define DEBUG
//#define DEBUG
#define LOOP 100 // Number of different message sizes
#define STRIDE 10000 // Difference between the message sizes
......@@ -27,7 +27,7 @@ void master(int tasks) {
sent[i] = (double)i;
#ifdef DEBUG
printf("Using a ring of %d nodes, time precision is %fs, unit size is %d "
printf("Using a ring of %d nodes, time precision is %fs, unit size is %ld "
"bytes.\n", tasks, MPI_Wtick(), sizeof(double));
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment