-
You will need the packages
python-devel
(in Linux), pybind11 and setuptools -
Modify
setup.py
to use the correct libraries and paths. -
To compile enter
sudo python3 setup.py install
- If you don't want to sudo you may want to use the option
--install-lib=destination/directory/
-
You may have to set the
PYTHONPATH
environment variable to your PWD and/or wherever theSNOSHEWS
module was installed -
If the script cannot find the module you may need to put the *.so library in the same directory as your script. The *.so library is in one of the subfolders in the build directory.
-
SNOSHEWS
uses OpenMP. You may want to set theOMP_NUM_THREADS
environment variable to a reasonable number for your machine.