159735 Assignment 1

Some of you implemented this with a loop in movebodies:

for(i=start;i<end;i++) {

for(j=start;j<end;j++) {


This is not correct, since it will not use all the values to update the bodies. The errors introduced by this are only very small so the result seems to be correct but it is only an approximation. The fact that the speedup was superlinear should have made you suspicious about this.

ID

Time

Marks

Comments

01077635

474

8

Doesn't move the bodies correctly,

02170027

3372

10

Very Good

03278999

1474

8

Doesn't move the bodies correctly,

04061535

543

8

Doesn't move the bodies correctly,

04189426

3324

10

Very Good

04231708

3417

10

Very Good

04244354

5

4

Not correct, no communication.

04250095

4367

9

Good but does too much communication so is a little slow.

05119308

3721

9

Process 0 does no calculations

05158494

439

8

Doesn't move the bodies correctly,

06235808

3324

10

Very Good

07217579

3806

9

Process 0 does no calculations

08497461

3795

9

Process 0 does no calculations

08602700

4383

9

Good but does too much communication so is a little slow.

09116907

546

8

Doesn't move the bodies correctly,

98016864

3369

10

Very Good