It's assumed that you already have Python (version 2.7) installed. Anaconda is recommended for installing Python https://www.anaconda.com/distribution/.
Once OpenCL drivers and Python are properly installed, you can use pip to install the PyOpenCL package (https://pypi.org/project/pyopencl/).
Run pyopencl_test.py to test if PyOpenCL is working properly: python pyopencl_test.py.
Run PyCLiPSM with sample data:
Run pyopencl_test.py to see a list of available OpenCL computing platforms/devices on your computer: python pyopencl_test.py
Change configurations in the OPENCL_CONFIG variable in utility/config.py accordingly, as well as the OPENCL_CONFIG variable in PyCLiPSM_main.py.
Run PyCLiPSM_main.py to get a sense of how to use PyCLiPSM (using example data provided): python PyCLiPSM_main.py
Use PyCLiPSM for your own application:
Prepare soil sample data and environmental covariate data following the example data in the "data" directory
Change parameters (e.g., data directory, data file names, etc.) in PyCLiPSM_main.py accordingly