Shock & Detonation Toolbox - Linux Installation

  1. Download cantera-1.7.0.tar.gz and unpack it
  2. Follow the README.txt included in the tar file
    IMPORTANT: To use the Shock and Detonation Toolbox install Numeric and NOT numarray
    (This is not necessary for c++ programs)
  3. NOTE: Unlike Cantera v1.6, this readme file leaves out some instructions. Basically, you need to run the preconfig file, ./preconfig, however, before doing this you must open and change the file's default installation directories and pathes for Python, Sundials, etc to match those on your computing system if they are different.
  4. To use Cantera in Python: Add the following to your profile
    export PYTHONPATH=CANTERA/lib/python2.4/site-packages/:$PYTHONPATH
    where CANTERA is your Cantera directory

If the Python 2.4 executable is NOT located in usr/bin do the following BEFORE installing Cantera