[MacPorts] #69350: py-pyopencl @2023.1.4 does not work with Catalina

MacPorts noreply at macports.org
Fri Feb 16 18:42:30 UTC 2024


#69350: py-pyopencl @2023.1.4 does not work with Catalina
--------------------------+----------------------
  Reporter:  lpagani91    |      Owner:  petrrr
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.9.1
Resolution:               |   Keywords:
      Port:  py-pyopencl  |
--------------------------+----------------------

Comment (by lpagani91):

 python3.11 --version
 Python 3.11.8


 {{{
 python3.11 test_cl.py
 TRYING PLATFORM 0
 <pyopencl.Platform 'Apple' at 0x7fff0000> [<pyopencl.Device 'Intel(R)
 Core(TM) i9-9880H CPU @ 2.30GHz' on 'Apple' at 0xffffffff>]
 Traceback (most recent call last):
   File "/Users/laurent/Transfert-Radiatif/LOC/test_cl.py", line 38, in
 <module>
     program =  cl.Program(context, source).build(args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/pyopencl/__init__.py", line 527, in build
     self._build_and_catch_errors(
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/pyopencl/__init__.py", line 583, 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/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/pyopencl/cl)

 }}}

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


More information about the macports-tickets mailing list