Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.08 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.08 KB

SNOWSHEWS: Supernova NeutrinO SHockwave Effects With SNEWPY

image Image by dreamstudio.ai

Installation Instructions

  1. You will need the packages python-devel (in Linux), pybind11 and setuptools

  2. Modify setup.py to use the correct libraries and paths.

  3. To compile enter

sudo python3 setup.py install
  1. If you don't want to sudo you may want to use the option
--install-lib=destination/directory/

Troubleshooting:

  1. You may have to set the PYTHONPATH environment variable to your PWD and/or wherever the SNOSHEWS module was installed

  2. 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.

  3. SNOSHEWS uses OpenMP. You may want to set the OMP_NUM_THREADS environment variable to a reasonable number for your machine.