-
You will need the packages
python-devel(in Linux), pybind11 and setuptools -
Modify
setup.pyto 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
PYTHONPATHenvironment variable to your PWD and/or wherever theSNOSHEWSmodule 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.
-
SNOSHEWSuses OpenMP. You may want to set theOMP_NUM_THREADSenvironment variable to a reasonable number for your machine.
