next up previous

Exercise 3: Implement a parallel Monte Carlo particle tracing algorithm on a Cray architecture.

Obtain the code as specified in section 5.2. Supply the portions of the code ``bleeped'' out---these are detailed in section 5.4. Compile and run the code on a Cray architecture. Make sure your answers are correct (the errors should all be less than ). Hand in the code and the output, together with your comments on how well the Cray did (was it fast?). Use hpm to assess performance, and relate this to the photon flight rate computed and output from the code.