Installing MMTK
Supported platforms
MMTK has been used on various Unix flavours, including Linux and MacOS X, as well as under Windows. The main development platforms are MacOS X and Linux.
Prerequisites
MMTK relies on a number of OpenSource programs and libraries. You must install these before installing MMTK, unless they are already installed on your computer of course.
- Python
- Numerical Python
- netCDF (use the option --enable-shared when running the configure script)
- Scientific Python
Basic installation procedure for Unix systems
- Unpack the distribution file:
tar xzf MMTK-2.x.y.tar.gz
- Change to the distribution directory:
cd MMTK-2.x.y
- Build MMTK components:
python setup.py build
- Install MMTK (this may require administrator priviledges):
python setup.py install
MMTK uses the Python library module distutils for installation. There are many way to modify the standard installation procedure described above; for details see the manual on Installing Python Modules. d
Basic installation procedure for Windows
As the MMTK developers do not use Windows machines, we cannot provide detailed installation instructions for this platform. However, MMTK uses the Python library module distutils for installation. The manual on Installing Python Modules explains how to install packages based on distutils on all platforms, including Windows. Note that you must have a C compiler on your computer if you want to install MMTK from the source code distribution.