The python version of TIGRE has not been teste on a windows machine yet. Please feel free to test it and help us build an easy installer for this OS. Contact us.
- Python 2.7
- gcc
- A CUDA capable GPU from NVIDIA with compute capability greater or equal to 3.0
- CUDA Toolkit
Tested on
| Software | Version |
|---|---|
| Ubuntu | 16.04 17.10 |
| Python | 2.7 |
| CUDA | 8.0 9.2 |
| gcc | 7.6.0 |
- Install python, gcc, pip and CUDA
- run
pip install pytigre --user - or download from repo and run
python setup.py install --user.
A succesfull installation should be able to execute the script at TIGRE/Python/example.py
For Ubuntu
-
Install python 2.7 and pip
sudo apt update sudo apt upgrade sudo apt install python2.7 python-pip -
Install CUDA
Installing CUDA in linux (specially one with a GUI) can be a challenge. Please follow NVIDIAs instructions carefully.
CUDA download link -
Install gcc
gcc shoudl already be installed in your linux, as it is part of the linux distribution.
If you need to install an older version of gcc, read here. -
Get TIGRE
pip install pytigre --user -
Try demo 3. If it runs succesfully then you are good to go.
Instead, if you rather compile from source, download/clone the repository and then run
cd TIGRE/Python/
python setup.py install --user
Install in this case will make a copy of pytigre to your python distribution. Therefore the develop command is more useful when modifying the source files and developing the software.
python setup.py develop --user
if this fails, then try:
export CUDAHOME=yourcudahome, e.g. default is export CUDAHOME=/usr/local/cuda
python setup.py install --user