Shock & Detonation Toolbox - Linux Installation
- Download cantera-1.7.0.tar.gz and unpack it
- 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)
- 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.
- 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
- Add the following to your profile
export PYTHON_CMD=PY/bin/python2.4
export PYTHONPATH=PY/include/python2.4/numarray:$PYTHONPATH
export PYTHONPATH=PY/lib/python2.4/site-packages/numarray:$PYTHONPATH
where PY is your replacement for usr/bin