Skip to content

PyOpenCL version mismatch and kernel issues on different machines #842

Closed

Description

@DarvinShehu

Hi,
I’d like to ask for some guidance regarding an issue we’re facing with PyOpenCL when using the mdt Python package for brain imaging processing.

The package relies on PyOpenCL for computation. However, we’re observing inconsistent behavior when running the same script on two different machines, even though we’ve tried to align the software environments.

Here are the two setups:

Machine A (working, but slow):

OS: Fedora 39

CPU: Intel Xeon(R) E5-2650

GPU: NVIDIA Quadro P5000

Python: 3.7.1

OpenCL: 1.2

PyOpenCL: 2022.2.4

Machine B (hanging during execution):

OS: Oracle Linux 9.5

CPU: Intel Xeon(R) Silver 4116

GPU: NVIDIA GeForce RTX 3090

Python: 3.7.1

OpenCL: 1.2

PyOpenCL: 2022.2.4

On Machine A, everything runs correctly, though slowly—likely due to the older GPU. On Machine B, the process hangs at certain points.

Our current hypothesis is that the problem may be related to the older PyOpenCL version, which might not be fully compatible or optimized for newer hardware (such as the RTX 3090). We’re wondering:

Could this be caused by an incompatibility between the old PyOpenCL version and the newer GPU/kernels?

We’d really appreciate any insight or suggestions about what might be causing this issue.

Thank you in advance for your support!

Activity

  1. Repository owner locked and limited conversation to collaborators on Jun 25, 2025
  2. converted this issue into a discussion #843 on Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions