-
Notifications
You must be signed in to change notification settings - Fork 11
How to install PyECLOUD
giadarol edited this page Mar 15, 2019
·
40 revisions
PyECLOUD has been tested exclusively on Linux (mainly Ubuntu and SLC distributions).
To operate it needs the following general tools and libraries:
- Python 2.7.XX
- numpy
- scipy
- matplotlib (mainly for examples and tests)
- cython
- f2py
- mpi4py (in case PyPARIS parallelisation is needed)
If you are already working with the python script stack you can skip this section
Different options can be used to setup the working environment:
- It is recommended to install Anaconda or Miniconda and use pip to install the missing modules.
- It is possible to compile and install your python and all required packages following the instruction here:
- On Ubuntu is is possible to install the required packages following the instruction here:
PyECLOUD relies on other two CERN developed modules, namely PyPIC and PyKLU (python wrapper to the KLU solver within suitesparse library). The full set of codes can be cloned from GitHub and installed with the following instructions:
git clone https://github.com/PyCOMPLETE/PyECLOUD
git clone https://github.com/PyCOMPLETE/PyKLU
git clone https://github.com/PyCOMPLETE/PyPIC
cd PyPIC
make
cd ../PyECLOUD
./setup_pyecloud
cd ../PyKLU
./install