XGrid Mandelbrot

From dftwiki3
Jump to: navigation, search

Running the Mandelbrot Demo program on the XGrid





This is a simple test to see if you have all the tools installed, and a good connection to the cluster.

There are several ways to get started. I am used to Terminal/console windows more than to GUIs, and that's what I'm using here.


Terminal Window

  • Use Finder to open the Utilites, open a terminal window and type the following commands:


cd /Developer/Examples/Xgrid/GridMandelbrot
open GridMandelbrot.xcodeproj


XCode Project

  • The Mac uses XCode as a development tool for everything programming.
  • Opening the xcodeproj file will start the XCode GUI:





Xgrid Mandelbrot.project.png


  • click on Build and Go at the top

Connection to Grid-Controller

  • You are asked for the name of the controller to connect to. Use mathgrid0.smith.edu:




Xgrid Mandelbrot.connect.png


  • Connect using the Xgrid password. If you do not remember it, email one of the members of the Screms project.




Xgrid Mandelbrot.password.png


Success!

  • You should see an evolving continuous zoom into the Mandelbrot set.





Xgrid Mandelbrot.window.png

Stop!

  • To stop the demo, simply click on the red icon in the top toolbar.




Xgrid Mandelbrot.stop.png

To Do

There are some unresolved questions after this demo:

  • How many nodes are used in the computation?
  • Which file in the project controls the number of nodes used?