Login | Register
Login | Register

My pages Projects SunSource.net openCollabNet

gridengine-demo
Project home

If you were registered and logged in, you could join this project.

Summary Demos for Grid Engine
Categories None
License SISSL
Owner(s) rhierlmeier

Demos for Grid Engine

Grid Engine Ray Tracing Demo

Requirements:

  • jdk 1.5 (http://java.sun.com)
  • ant 1.6.5 or higher (http//:ant.apache.org)
  • PovRay (http://www.povray.org)
  • Grid Engine 6.0 or higher (http://gridengine.sunsource.net
  • (optional) Netbeans 5.5 or higher (http://www.netbeans.org)

How to build

  • Check out the sources of the Grid Engine Ray Tracing Demo (see gridengine-demo CVS).

  • Use ant to build the Grid Engine Ray Tracing Demo:

     % cd <src dir>/gridengine-demo/GridRayTrace
     % ant
     

    The default ant target will product in the dist directory the Grid_Engine_Ray_Trace_Demo.jar file.

How to start the demo

Start the Grid Engine Ray Tracing Demo with the sge_job_submit.sh script.

% pov_submit.sh

pov_submit.sh     

Options:

<scene>       path to the pov ray scene file
<output_dir>  directory where pov ray stores temp results
<width>       with of the generated image in pixel
<height>      height of the generated images in pixel
<tasks>       number of submited array tasks

The script starts the GUI of the demo and submits the jobs into a Grid Engine cluster. The GUI observes the files in <output_dir>. If a tile is finished it displays the content of the tile in the GUI.

Example

The following examples creates an image out of the scene file with the size 1280x1024. The script submits an array jobs into Grid Engine with 100 tasks.

   % source /opt/sge/default/common/settings.csh
   % <inst_dir>/sge_pov_submit.sh
          /usr/lib/povray/example/sample.scene
          /tmp/grid_pov \
          1280 & 1024 100

Please have a look at the Grid Engine Ray Tracing Demo Movie.