ratt-ru / pfb-imaging

Preconditioned forward/backward clean algorithm
MIT License
6 stars 5 forks source link

test_pfbclean.py gives segfault #41

Closed gijzelaerr closed 2 years ago

gijzelaerr commented 3 years ago
λ  venv/bin/python scripts/test/test_pfbclean.py
[1]    53363 segmentation fault  venv/bin/python scripts/test/test_pfbclean.py
/usr/local/Cellar/python@3.9/3.9.2_1/Frameworks/Python.framework/Versions/3.9/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 '

This is on OSX with Python 3.9 and these packages installed:

absl-py==0.11.0
appdirs==1.4.4
asciitree==0.3.3
astropy==4.2
attrs==20.3.0
certifi==2020.12.5
chardet==4.0.0
-e git+git@github.com:ska-sa/codex-africanus.git@7603bf8cf47bad0e2b284e586c862ef4d4b28c9f#egg=codex_africanus
cycler==0.10.0
dask==2021.2.0
dask-ms==0.2.6
decorator==4.4.2
ducc0==0.8.0
fasteners==0.16
flake8==3.8.4
flaky==3.7.0
flatbuffers==1.12
future==0.18.2
idna==2.10
imageio==2.9.0
iniconfig==1.1.1
jax==0.1.68
jaxlib==0.1.57
jsonschema==3.2.0
katbeam==0.1
kiwisolver==1.3.1
llvmlite==0.34.0
matplotlib==3.3.4
mccabe==0.6.1
networkx==2.5
numba==0.51.2
numcodecs==0.7.3
numpy==1.20.1
opt-einsum==3.3.0
packaging==20.9
packratt==0.1.3
pandas==1.2.3
-e git+git@github.com:ratt-ru/pfb-clean.git@3e78a475b63d9d8cfa1849c586d4da5945b92eb5#egg=pfb
Pillow==8.1.1
pluggy==0.13.1
py==1.10.0
pycodestyle==2.6.0
pyerfa==1.7.2
pyflakes==2.2.0
pyparsing==2.4.7
pyrsistent==0.17.3
pytest==6.2.2
pytest-flake8==1.0.7
python-casacore @ file:///Users/gijs/Work/astro/python-casacore/dist/python_casacore-3.3.1-cp39-cp39-macosx_11_0_x86_64.whl
python-dateutil==2.8.1
pytz==2021.1
PyWavelets==1.1.1
PyYAML==5.4.1
requests==2.25.1
scikit-image==0.18.1
scipy==1.6.1
six==1.15.0
tifffile==2021.2.26
toml==0.10.2
toolz==0.11.1
urllib3==1.26.3
xarray==0.17.0
zarr==2.6.1
landmanbester commented 3 years ago

I've not tried it on OSX or python 3.9. I'll see if I can reproduce it in a python 3.9 virtualenv. How did you install ducc0? It builds with -march=native

landmanbester commented 2 years ago

test_pfbclean.py does not exist anymore. All functionality has been split out into separate workers. Please reopen if problems persist