================================
README

CS 560 CUDA galaxy example
================================

This example was downloaded from 
http://www.evl.uic.edu/sjames/cs525/project2.html
and then modified.  Sangyoon (James) Lee created for a class assignment in 2008.

To build and run this example, use one of the CS machines with an NVIDIA card
and with the appropriate symbolic link to the GLEW library in /usr/lib64/:
    figs, grapes, huckleberries, kiwis, lemons, melons, nectarines, peaches, 
    pears, raspberries, pomegranates, bananas, coconuts, apples, and oranges.
Basically all of the machines in room 325.
NOTE: currently we know this program works on apples and figs, but not on oranges.  We have not tested the rest.  We are looking into it.

Type the following:
  setenv LD_LIBRARY_PATH /usr/local/cuda/lib64/:/usr/local/cuda/sdk/C/lib/
  make
  cd bin/linux/release
  ./galaxy -b=1    // for batch mode, if you can't sit at the machine
  ./galaxy         // for normal mode to get pretty display

You can compile a debug version, which will be put in bin/linux/debug,
by typing the following:
    make dbg=1
    