[MacPorts] #69350: py-pyopencl @2023.1.4 does not work with Catalina (was: pyopencl does not work with Catalina)
MacPorts
noreply at macports.org
Fri Feb 16 18:23:17 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 |
--------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => petrrr
* port: pyopencl 2023.1.4 => py-pyopencl
Comment:
py-pyopencl @2023.1.4 in MacPorts is available for Python versions from
3.8 to 3.11 but your error message shows you are using Python 3.6 so
either you are using a very old MacPorts-installed version of pyopencl
from before the py36-pyopencl subport was deleted or you have installed
pyopencl there manually. Either way, we don't support that. Use Python 3.8
or later. I installed py311-pyopencl, saved [comment:1 your test script]
as test.py and ran `python3.11 test.py` and got this output:
{{{
TRYING PLATFORM 0
<pyopencl.Platform 'Apple' at 0x7fff0000> [<pyopencl.Device 'Intel(R)
Core(TM) i7-3720QM CPU @ 2.60GHz' on 'Apple' at 0xffffffff>]
[0.0000e+00 1.0000e+00 4.0000e+00 9.0000e+00 1.6000e+01 2.5000e+01
3.6000e+01 4.9000e+01 6.4000e+01 8.1000e+01 1.0000e+02 1.2100e+02
1.4400e+02 1.6900e+02 1.9600e+02 2.2500e+02 2.5600e+02 2.8900e+02
3.2400e+02 3.6100e+02 4.0000e+02 4.4100e+02 4.8400e+02 5.2900e+02
5.7600e+02 6.2500e+02 6.7600e+02 7.2900e+02 7.8400e+02 8.4100e+02
9.0000e+02 9.6100e+02 1.0240e+03 1.0890e+03 1.1560e+03 1.2250e+03
1.2960e+03 1.3690e+03 1.4440e+03 1.5210e+03 1.6000e+03 1.6810e+03
1.7640e+03 1.8490e+03 1.9360e+03 2.0250e+03 2.1160e+03 2.2090e+03
2.3040e+03 2.4010e+03 2.5000e+03 2.6010e+03 2.7040e+03 2.8090e+03
2.9160e+03 3.0250e+03 3.1360e+03 3.2490e+03 3.3640e+03 3.4810e+03
3.6000e+03 3.7210e+03 3.8440e+03 3.9690e+03 4.0960e+03 4.2250e+03
4.3560e+03 4.4890e+03 4.6240e+03 4.7610e+03 4.9000e+03 5.0410e+03
5.1840e+03 5.3290e+03 5.4760e+03 5.6250e+03 5.7760e+03 5.9290e+03
6.0840e+03 6.2410e+03 6.4000e+03 6.5610e+03 6.7240e+03 6.8890e+03
7.0560e+03 7.2250e+03 7.3960e+03 7.5690e+03 7.7440e+03 7.9210e+03
8.1000e+03 8.2810e+03 8.4640e+03 8.6490e+03 8.8360e+03 9.0250e+03
9.2160e+03 9.4090e+03 9.6040e+03 9.8010e+03 1.0000e+04 1.0201e+04
1.0404e+04 1.0609e+04 1.0816e+04 1.1025e+04 1.1236e+04 1.1449e+04
1.1664e+04 1.1881e+04 1.2100e+04 1.2321e+04 1.2544e+04 1.2769e+04
1.2996e+04 1.3225e+04 1.3456e+04 1.3689e+04 1.3924e+04 1.4161e+04
1.4400e+04 1.4641e+04 1.4884e+04 1.5129e+04 1.5376e+04 1.5625e+04
1.5876e+04 1.6129e+04]
}}}
I'm confused that there are two prefixes mentioned in your errors:
/opt/local and /opt/local_2024. What's the relationship between those two
paths? Is one a symlink to the other or are they separate MacPorts
installations?
--
Ticket URL: <https://trac.macports.org/ticket/69350#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list