This section describes how to download and install Pykaryote and its dependencies.
Warning
Not for Developers
These installation instructions are for users. If you are a developer or wish to modify the code, you must follow a different set of procedures. See Installing for Development.
Pykaryote has been tested to run on 32 and 64 bit version of Linux. Binaries for these distributions are available. It should run on Windows and OSX, but users may have some difficulty installing mpi and mpi4py on these platforms. For this reason, Linux is the recommended distribution.
Pykaryote requires the following dependences:
First, install the required packages:
$ sudo apt-get install python python-dev python-numpy python-matplotlib openmpi-bin libopenmpi-dev python-pip python-imaging
Now use pip, the python package manager, to download, build, and install mpi4py:
$ sudo pip install mpi4py
If you do not have root privileges, you can install mpi4py locally:
$ pip install mpi4py --user
Now install pykaryote using pip (again, use –user if you want to install locally:
$ sudo pip install pykaryote
To check that it installed correctly, run the unit tests and ensure that there are no errors:
$ pyk-test
Pykaryote has only been tested on Linux. It should work on other platforms, but installing Open MPI and mpi4py can be a headache. If you’re able to get all the dependancies installed, install Pykaryote with pip:
$ pip install pykaryote
and test it with:
$ pyk-test