Skip to content

SNEWS2/SNOSHEWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A code to compute the MSW effect in supernovae

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages