[MacPorts] #69350: pyopencl does not work with Catalina

MacPorts noreply at macports.org
Fri Feb 16 17:23:52 UTC 2024


#69350: pyopencl does not work with Catalina
-----------------------+-------------------------------
 Reporter:  lpagani91  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.9.1
 Keywords:             |       Port:  pyopencl 2023.1.4
-----------------------+-------------------------------
 I installed pyopencl in all flavors from 3.7 to 3.11 but it does not work
 at all.
 When running it, I get a BUILD_PROGRAM_FAILURE

 {{{
 Traceback (most recent call last):
   File "test_cl.py", line 38, in <module>
     program =  cl.Program(context, source).build(args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/pyopencl/__init__.py", line 500, in build
     options_bytes=options_bytes)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/pyopencl/__init__.py", line 554, in _build_and_catch_errors
     raise err
 pyopencl._cl.RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE -
 clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed:
 BUILD_PROGRAM_FAILURE

 Build on <pyopencl.Device 'Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz' on
 'Apple' at 0xffffffff>:


 (options: -D Nx=128 -I
 /opt/local_2024/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/pyopencl/cl)

 }}}

 I found suggestions on the Web like setting PYOPENCL_NO_CACHE to 1 but it
 did not help.

-- 
Ticket URL: <https://trac.macports.org/ticket/69350>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list