ICSM / pgmuvi

Python gaussian processes for inference on multi-wavelength light curves
https://pgmuvi.readthedocs.io
GNU General Public License v3.0
12 stars 6 forks source link

Segmentation fault encountered #26

Closed diegovasquez23 closed 11 months ago

diegovasquez23 commented 1 year ago

I encounter the following error when executing PGMUVI: 0%| | 0/300 [00:00<?, ?it/s]zsh: segmentation fault python pgmuvi.py (base) d.vasquez@192 pgmuvi % /Users/d.vasquez/opt/anaconda3/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

The same code executes without a segmentation fault on Colab, but this issue happens on my MacBook Pro.

Please help?

sundarjhu commented 1 year ago

@diegovasquez23 is able to run the code by downgrading to Python 3.9.12 from 3.9.13. @pscicluna, could you make this a requirement for installation for now? Thanks!

pscicluna commented 1 year ago

I will look in to adjusting out installation requirements. However, it would be very useful to know where multiprocessing is getting called from to narrow this down - @diegovasquez23 are you calling multiprocessing explicitly, or does this happen just in pgmuvi itself?

diegovasquez23 commented 1 year ago

for the execution of PGMUVI with my light curves I do not use multiprocessing

pscicluna commented 11 months ago

3.9.13 has now been excluded in requires-python.