Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
428 Discussions

seg fault importing numba_dpex on fresh installation

riccardo2
Beginner
1,817 Views

Hello,

 

we are getting segmentation fault while importing library numba_dpex from a fresh installation of intelpython_2022.2.1:

 

(base) -bash-4.2$ python

Python 3.9.13 (main, Oct 19 2022, 17:23:07)

[GCC 11.2.0] :: Intel Corporation on linux

Type "help", "copyright", "credits" or "license" for more information.

Intel(R) Distribution for Python is brought to you by Intel Corporation.

Please check out: https://software.intel.com/en-us/python-distribution

>>> import faulthandler

>>> faulthandler.enable()

>>> import numba_dpex

Fatal Python error: Segmentation fault

 

Current thread 0x00007fc8c6e75740 (most recent call first):

  File "/home/opt/intelpython_2022.2/intelpython/latest/lib/python3.9/site-packages/llvmlite/binding/ffi.py", line 151 in __call__

  File "/home/opt/intelpython_2022.2/intelpython/latest/lib/python3.9/site-packages/llvmlite/binding/dylib.py", line 28 in load_library_permanently

  File "/home/opt/intelpython_2022.2/intelpython/latest/lib/python3.9/site-packages/numba_dpex/initialize.py", line 54 in load_dpctl_sycl_interface

  File "/home/opt/intelpython_2022.2/intelpython/latest/lib/python3.9/site-packages/numba_dpex/device_init.py", line 64 in <module>

  File "<frozen importlib._bootstrap>", line 228 in _call_with_frames_removed

  File "<frozen importlib._bootstrap_external>", line 850 in exec_module

  File "<frozen importlib._bootstrap>", line 680 in _load_unlocked

  File "<frozen importlib._bootstrap>", line 986 in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 1007 in _find_and_load

  File "/home/opt/intelpython_2022.2/intelpython/latest/lib/python3.9/site-packages/numba_dpex/__init__.py", line 26 in <module>

  File "<frozen importlib._bootstrap>", line 228 in _call_with_frames_removed

  File "<frozen importlib._bootstrap_external>", line 850 in exec_module

  File "<frozen importlib._bootstrap>", line 680 in _load_unlocked

  File "<frozen importlib._bootstrap>", line 986 in _find_and_load_unlocked

  File "<frozen importlib._bootstrap>", line 1007 in _find_and_load

  File "<stdin>", line 1 in <module>

Segmentation fault (core dumped)

 

We are using RedHat 7.9 Enterprise,

 

thanks

Labels (1)
0 Kudos
1 Solution
JaideepK_Intel
Employee
1,788 Views

Hi,

 

Good day to you.

Thank you for posting in Intel communities.

 

According to the basetoolkit system requirements, we can see RHEL 7.9 is deprecated. So, most of the oneapi tools don't work on the deprecated platform. We suggest you try it on the supported OS.

 

Link:

Intel® oneAPI Base Toolkit System Requirements

 

We ran numba_dpex on RHEL 7.9(deprecated) and got the same issue. Attaching a screenshot for your reference.

JaideepK_Intel_1-1670416114098.png

 

We ran numba_dpex on Ubuntu18.04 and it is working fine. Attaching a screenshot for your reference.

JaideepK_Intel_0-1670415881432.png

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!

 

Regards,

Jaideep

 

 

View solution in original post

0 Kudos
2 Replies
JaideepK_Intel
Employee
1,789 Views

Hi,

 

Good day to you.

Thank you for posting in Intel communities.

 

According to the basetoolkit system requirements, we can see RHEL 7.9 is deprecated. So, most of the oneapi tools don't work on the deprecated platform. We suggest you try it on the supported OS.

 

Link:

Intel® oneAPI Base Toolkit System Requirements

 

We ran numba_dpex on RHEL 7.9(deprecated) and got the same issue. Attaching a screenshot for your reference.

JaideepK_Intel_1-1670416114098.png

 

We ran numba_dpex on Ubuntu18.04 and it is working fine. Attaching a screenshot for your reference.

JaideepK_Intel_0-1670415881432.png

 

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!

 

Regards,

Jaideep

 

 

0 Kudos
JaideepK_Intel
Employee
1,740 Views

Hi,


Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Jaideep


0 Kudos
Reply