Opened 17 years ago

Closed 17 years ago

#66 closed defect (fixed)

error in simpleMPImpl

Reported by: Stephen Siegel Owned by: zirkel
Priority: major Milestone:
Component: examples Version: 1.0
Keywords: simpleMP, bug, undefined Cc:

Description

MiniMP has correctly found an error in simpleMPImpl. It points out that the value of m is undefined on proc 0 when the last line is reached. The attempt to read the undefined value signals an error.

Another good example to save of a bug.

But the example should also be corrected.

Why don't we save both a correct and an incorrect version (ImplGood, ImplBad?).

Change History (2)

comment:1 by zirkel, 17 years ago

Status: newaccepted

The missing value is added. However, as the spec is written the value of the output variables ends up different in proc 0 and proc 1. Should the code be adjusted so that they're the same? Otherwise I don't see how to avoid a violation.

comment:2 by zirkel, 17 years ago

Resolution: fixed
Status: acceptedclosed

Corrected. The test now passes.

Note: See TracTickets for help on using tickets.