Linux & Unix-based systems

Download the latest myokit sources:

Myokit 1.26.3

These can be unpacked anywhere and run without further installation.


The following components are required to run Myokit:

Python 2.7
Including the following python packages:
Sundials 2.4 or higher (CVODE 2.6 or higher)

The Sundials CVODE solver is required to run simulations. Version 2.4 (or higher) of the Sundials Suite is required. It is possible to install only the CVODE solver, not the full library. The version of CVODE included in the 2.4 suite is CVODE 2.6.

On many systems, a recent version of Sundials is available through some package manager, e.g. apt, yum, dnf, macports. See below for platform-specific info.

If compiling Sundials from the source, make sure to include the "shared libraries" (.so or .dll files) by adding the --enable-shared switch to configure before compiling.

Note: Python and sundials should be compiled for the same architecture: A 64 bit python installation will require a 64 bit Sundials install.

OpenCL drivers and libraries (optional)
Myokit can use OpenCL to run parallelized simulations either on a CPU or a GPU. For this to work, you need to install:
  1. OpenCL-compatible drivers for the device you want to run on. These can typically be downloaded from the manufacturer's homepage.
  2. A copy of the OpenCL libraries. Some implementations of these libraries can work with devices from different vendors. To be safe, try downloading a version distributed by the manufacturer of the intended device (i.e. your CPU or GPU).

Fedora / Redhat

To install the required python packages:

$ dnf install python-matplotlib-qt5 scipy sympy

If you also want to be able to rebuild the documentation:

$ dnf install python-sphinx

To install sundials:

$ dnf install sundials sundials-devel


A script is provided in the to add menu items for Myokit to any Gnome or KDE system. The same script can be used to register the mime type of mmt films and to install syntax highlighting for any editor built around gtksourceview. You can find the script in about/gnome-kde.


Install python packages:

$ apt-get install python-pyqt5 python-matplotlib python-dev
$ apt-get install libsundials-serial-dev
$ apt-get install python-scipy python-sympy

OpenCL support for Intel GPUs

On recent versions of Ubuntu, you can add support for GPU simulation on Intel GPUs (not CPUs!) by adding the packages:

$ apt-get install ocl-icd-libopencl1 ocl-icd-opencl-dev
$ apt-get install opencl-headers beignet