Comments (5)
some possible hints from @pierrepaleo
from clinfo
there in /etc/OpenCL/vendors/intel64.icd there is a /opt/intel_opencl_icd/icd/libintelocl.so and CPU is AMD (cat /proc/cpuinfo)
from silx.
and:
- silx 2.0 tested with pyopencl 2024.1 and pyopencl 2023.1.4 -> both are failling
- silx 1.1 tested with pyopencl 2023.1.4 only -> works
from silx.
indeed it even seems that a simple call to python -c "from silx.opencl.utils.ExternalRessources import ExternalRessources"
make it segfault. But the file on itself seems to have nothing 'exotic'
from silx.
We had a quick look with @t20100 and there is two issues:
- as @pierrepaleo noticed the opencl setup seems to be wrong (it has a
/etc/OpenCL/Vendors/intel.icd
when has a AMD CPU and not any intel device). Furthermore we also have a seg fault with the following code:
(test_opencl) opid19@iccid191:/nobackup/iccid1911/tomotools$ python /tmp_14_days/payno/test.py
Choose platform:
[0] <pyopencl.Platform 'NVIDIA CUDA' at 0x1eb47f0>
[1] <pyopencl.Platform 'Intel(R) OpenCL' at 0x1ed01c0>
Choice [0]:1
Set the environment variable PYOPENCL_CTX='1' to avoid being asked again.
Segmentation fault (core dumped)
- then there is most likely a design issue with the silx.opencl.common.py module and more specifically about the
OpenCL
class.
During import will be executed. And this is what create a seg fault during import. Even if no-opencl is used when importing silx.opencl or other module linked.
Can we get your point of view on it @kif ? Do you think it would make sense to redesign this part ?
from silx.
Replaced by more focused issue #4088
from silx.
Related Issues (20)
- Scipy 1.13.0 removes scipy.signal.gaussian HOT 2
- silx.opencl: Avoid executing OpenCL kernels at import time HOT 4
- Drop support for Python 3.7 HOT 1
- Dead Links in README.rst HOT 1
- numpy 2 deprecation warnings HOT 1
- overriding the match ratio in opencl/sift/match.py HOT 1
- h5py_utils fork deprecation warning
- Building `silx` against development version of numpy HOT 2
- `noexcept clause is ignored` warning in Cython code HOT 3
- Add `Tiled` data sources to browse Bluesky runs HOT 8
- Warning in Cython compilation HOT 3
- [2.1.0] Debian build and how to skip ascent downloading ? HOT 3
- How can I copy the data in Raw view? HOT 2
- silx view - HDF5view - improve scroll area HOT 1
- silx.gui.dialog GroupDialog and DatasetDialog are missing an API to select an hdf5 entity
- Add a 'auto' imagej like option HOT 2
- silx view: Large 2D datasets are open HOT 2
- Documentation: Describe conda packaging
- [ExternalResources] Allow to set `_data_home`
- tests failures against Pytest 8.2.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silx.