Difference between revisions of "ChomboVis"

From SourceWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
=Prequisites=
 
=Prequisites=
  
'''ChomboVis''' relies upon a number of other packages, so you will need to install these first:
+
'''ChomboVis''' relies upon a number of other packages, so you will need to install these before building ChomboVis.  However, the default build for ChomboVis assumes that they are built inside it's own build directory, so you will need to unpack the ChmboVis tar file first.  On dartagnan I untarred it in '''/opt/chombovis'''.  You can copy the tar file, '''ChomboVis-4.16.11.tar.gz''' from that directory.
  
 
==Python Megawidgets==
 
==Python Megawidgets==
  
See:
+
Needs to be unpacked so that it is a generally available package for Python.  On dartagnan (CentOS), I used:
 +
 
 +
<pre>
 +
yum install python-pmw
 +
</pre>
 +
 
 +
to quickly achieve this, but you can also get the package from '''http://sourceforge.net/projects/pmw'''.
 +
 
 +
==HDF5 (v1.6.5)==
 +
 
 +
You can copy '''/opt/chombovis/ChomboVis-4.16.9-and-everything/hdf5-1.6.5.tar.gz''' on dartagnan, and build using:
  
 
<pre>
 
<pre>
http://sourceforge.net/projects/pmw
+
tar -xzf hdf5-1.6.5.tar.gz
 +
cd hdf5-1.6.5
 +
./configure --prefix=/opt/chombovis/ChomboVis-4.16.11
 +
make install
 
</pre>
 
</pre>
  
Needs to be unpacked so that it is a generally available package for Python. On dartagnan (CentOS), I used:
+
==Python (v2.3.3)==
 +
 
 +
You can copy '''/opt/chombovis/ChomboVis-4.16.9-and-everything/Python-2.3.3.tar.gz''' and build using:
  
 
<pre>
 
<pre>
yum install python-pmw
+
tar -xzf Python-2.3.3.tar.gz
 +
cd Python-2.3.3
 +
./configure --prefix=/opt/chombovis/ChomboVis-4.16.11
 +
make install
 
</pre>
 
</pre>
  
to quickly achieve this.
+
==VTK (v4.4)==
  
==HDF5==
+
You can copy '''/opt/chombovis/ChomboVis-4.16.9-and-everything/vtk4.4-src.tar.gz'''.  The build is different, however, and also a bit buggy.
  
I used v1.6.5 in conjuction
+
Unpack normally:
 +
 
 +
<pre>
 +
tar -xzf vtk4.4-src.tar.gz
 +
cd vtk4.4-src/VTK
 +
</pre>
  
 
=Building ChomboVis=
 
=Building ChomboVis=
  
 
=Calling ChomboVis from a Debugger=
 
=Calling ChomboVis from a Debugger=

Revision as of 14:50, 12 January 2009

Introduction

ChomboVis is a visualisation package from the makers of CHOMBO. It is no longer supported and VisIt is now the visulaisation tool of choice. However, ChomboVis may still be useful for debugging purposes and so the notes below describe how to build and run this package.

Prequisites

ChomboVis relies upon a number of other packages, so you will need to install these before building ChomboVis. However, the default build for ChomboVis assumes that they are built inside it's own build directory, so you will need to unpack the ChmboVis tar file first. On dartagnan I untarred it in /opt/chombovis. You can copy the tar file, ChomboVis-4.16.11.tar.gz from that directory.

Python Megawidgets

Needs to be unpacked so that it is a generally available package for Python. On dartagnan (CentOS), I used:

yum install python-pmw

to quickly achieve this, but you can also get the package from http://sourceforge.net/projects/pmw.

HDF5 (v1.6.5)

You can copy /opt/chombovis/ChomboVis-4.16.9-and-everything/hdf5-1.6.5.tar.gz on dartagnan, and build using:

tar -xzf hdf5-1.6.5.tar.gz
cd hdf5-1.6.5
./configure --prefix=/opt/chombovis/ChomboVis-4.16.11
make install

Python (v2.3.3)

You can copy /opt/chombovis/ChomboVis-4.16.9-and-everything/Python-2.3.3.tar.gz and build using:

tar -xzf Python-2.3.3.tar.gz
cd Python-2.3.3
./configure --prefix=/opt/chombovis/ChomboVis-4.16.11
make install

VTK (v4.4)

You can copy /opt/chombovis/ChomboVis-4.16.9-and-everything/vtk4.4-src.tar.gz. The build is different, however, and also a bit buggy.

Unpack normally:

tar -xzf vtk4.4-src.tar.gz
cd vtk4.4-src/VTK

Building ChomboVis

Calling ChomboVis from a Debugger