TessTool

DESCRIPTION

TessTool is a graphical user interface for visualizing the data and model, as well as various attributes of the individual tiles. We hope to include a manipulator for the tessellation itself but this is not currently implemented.

DESIGN

The TessToolSender class calls the persistence subsystem to serialize and store the current tessellation. The likelihood computation has hooks to forward the model and data to a separate "consumer" process waiting to receive data.

There are two versions of the consumer process:

  1. With a controller process that connects to the MPI world that starts and controls the simulation
  2. With a process spawned from the CLI to receive and write the data.

EXAMPLE CLI SESSIONS

In CLI, one constructs the simulation as usual. Before starting the simulation, one creates the TessToolSender as follows:

For the controller method:

	set tts = new TessToolSender()
	like->SetTessTool(tts)
	sim->RunThread()
where sim is the simulation instance.

For the controller writer:

	sim->SetAutoTessTool(1)
	sim->RunThread()

SetAutoTessTool instantiates the TessToolSender and calls for a new file to be written after every step. The writing frequency is the argument to the SetAutoTessTool() method.

INSTRUCTIONS FOR USE

TessTool controller example

Assume the following diretory structure:

  BIE
    src/
    cli/
    tesstool/
    examples/Galaxy/parallel

  1. Run server (which invokes cli) on root node
            BIE/cli/server mpirun -np 2 BIE/cli/cli  -mpi -aso 
    

  2. Run tesstool on root/other node

    Without gdb:

             mpirun -np 1 -nsigs BIE/tesstool/tesstooldriver hostname.umass.edu 8000   
    

    With gdb:

             mpirun -np 1 rungdb.bash BIE/tesstool/tesstooldriver
    
    where: rungdb and .gdbinit-tesstool are the files that I sent before

  3. In tesstool: send the script named

             script0-with-tesstool
    

  4. Attach VTK
  5. Select Scalar
  6. Get Data
  7. Visualize

TessTool writer example

Assume the following diretory structure:

  BIE
    src/
    cli/
    tesstool/
    examples/Galaxy/parallel

  1. Process Data
  2. Select Scalar
  3. Visualize

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:11 2010 by doxygen