Skip to main content

Maastricht Optimization Toolbox

Project description

https://badge.fury.io/py/mot.png

A library for parallel optimization and sampling using Python and OpenCL.

For the diffusion MRI package MDT which builds on top of this, please see https://github.com/cbclab/MDT.

Quick installation guide

The basic requirements for MOT are:

  • Python 3.x (recommended) or Python 2.7

  • OpenCL 1.2 (or higher) supper in GPU driver or CPU runtime

Linux

For Ubuntu >= 16 you can use:

  • sudo add-apt-repository ppa:robbert-harms/cbclab

  • sudo apt-get update

  • sudo apt-get install python3-mot

For Debian users and Ubuntu < 16 users, install MOT with:

  • sudo apt-get install python3 python3-pip python3-pyopencl

  • sudo pip3 install MOT

Windows

  • Install Python Anaconda 3.* 64bit from https://www.continuum.io/downloads

  • Compile PyOpenCL with pip install pyopencl, this requires:
    • Visual Studio 2015 (Community edition or higher) with the Python and Common Tools for Visual C++ options enabled

    • OpenCL development kit (NVidia CUDA or Intel OpenCL SDK or the AMD APP SDK)

  • Open a Anaconda shell and type: pip install MOT

For more information and for more elaborate installation instructions, please see: https://mot.readthedocs.org

Caveats

There are a few caveats and known issues, primarily related to OpenCL:

  • Windows support is experimental due to the difficulty of installing PyOpenCL, hopefully installing PyOpenCL will get easier on Windows soon.

  • For AMD users with Ubuntu >= 16, the new AMD GPU-Pro driver is still in beta and may not work with all the kernels in MOT. Our recommendation at the moment (October 2016) is to use Ubuntu version 14.

  • GPU acceleration is not possible in most virtual machines due to lack of GPU or PCI-E pass-through, this will change whenever virtual machines vendors program this feature. Our recommendation is to install neurodebian on your machine and run it on that.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mot-0.2.12.tar.gz (141.1 kB view hashes)

Uploaded Source

Built Distribution

mot-0.2.12-py2.py3-none-any.whl (611.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page