Mandelbrot Assignment

Download the sequential program, mandelbrot.c which displays the Mandelbrot image (in black/white) on an Xwindows system. Compile and run the program normally.

Rewrite the program to operate as an MPI program. Graphical output is to be produced using Xlib calls (see below).

 Instrument code with MPI_Wtime() or similar to determine time of execution.

 Grading depends upon sophistication of the implementation:

Grading:

Fully documented working code/static assignment with timing 90%

or Fully documented working code/dynamic assignment with timing 100%

and Color output +10%

 Without timing -10%

-10% per day late

Partial credit for non-working programs. Use at least four computers if your environment allows.

Submit your code, the results of the program, and a one page description of the work with an image file (giff etc.)

Reference: Xlib Programming Manual Volume 1, O'Reilly & Associates Inc., 1989

Compiling

cc mandelbrot.c -L/usr/X11R6/lib -lm -lX11 -lXext