nuclear-multimessenger-astronomy / nmma

A pythonic library for probing nuclear physics and cosmology with multimessenger analysis
https://nuclear-multimessenger-astronomy.github.io/nmma/
GNU General Public License v3.0
33 stars 58 forks source link

Adding support for Python 3.11 #169

Closed sahiljhawar closed 1 year ago

sahiljhawar commented 1 year ago

Testing NMMA with Python 3.11 and support for PyMultiNest with Python 3.11. Reason being, this will enable us to know whether Python version is an issue for the PMN sampler. Also updates NMMA to run with latest Python version.

sahiljhawar commented 1 year ago

PR #170 is dealing with this issue. Further action is required

sahiljhawar commented 1 year ago

Python 3.11 not working. For users who are not on slack, here's the update:

Since @tsunhopang already submitted a merge in bilby for ultranest . Let's wait for that. I tried with Python 3.11 and things are not working out. While testing the NMMA inferences, with MPI, sampler not found error occurs, without MPI Safeloglikelihood error occurs. But if I perform the tests with the examples as given by Johannes (PMN author), the tests are successfully passed. Also pymultinest from conda doesn't seems to work, I installed it with pip and built multinest from the source