Parallel J/Link

and complex dynamics

J/Link and V7's new parallel computing suite are two tools to accelerate Mathematica computations.  For example, the generation of images from complex dynamics (like Julia sets and the Mandelbrot set) can be accelerated using either of these techniques.  In this tutorial, we show how to combine these tools by calling J/Link programs in parallel.  Note that some familiarity with JLink and complex dynamics is assumed.  You'll also want to take a look at Mathematica's parallel computation guide.

In order to use this notebook, the Java classes Complex and quadraticIterator should be in a folder called JavaClasses together with the notebook.

Note added later.  I think it was always WR's intention to limit the number of processes to 4 parallel kernels.  This is the way it works with V7.0.1 on my groovy Power Mac, even though it has 8 processors.  Back in V7.0.0, I get 8 parallel kernels.  So don't throw V7.0.0 away. :)

Some basics

Mandelbrot and Julia sets

Spikey Created with Wolfram Mathematica 7.0