pypho can be downloaded in different zip-formats from the Gitlab of the LRZ:
https://gitlab.lrz.de/hm-striegle/pypho
Alternatively, you can directly clone the repository:
git clone https://gitlab.lrz.de/hm-striegle/pypho.git
There is no installation required. Just download the repository and start the python code.
Some packages are required. Using Ubuntu the installation is quite easy:
sudo apt-get install python-numpy
sudo apt-get install python-scipy
sudo apt-get install python-pyfftw
sudo apt-get install python-matplotlib
If you want to use the faster version of the fiber simulation, you have to compile it on your computer. Furthermore, you should install the latest version of FFTW enableling multithreading.
The following steps are recommended:
sudo apt-get install libfftw3-dev libfftw3-doc
wget http://www.fftw.org/fftw-3.3.8.tar.gz
tar -zxvf fftw-3.3.8.tar.gz
cd fftw-3.3.8
Visit http://www.fftw.org/download.html to check if there is a new version available.sudo ./configure --enable-threads --enable-openmp
sudo make
sudo make install
Find out here how to optimize it on your computer: http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unixsudo apt-get install build-essential
pip install Cython
python speedup.py build_ext --inplace