-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpirun with OpenCL #12813
Comments
@TheFloatingBrain Could you please provide your Open MPI version? Pasting the output of |
@wenduwan Thanks for the reply, I have to enter the following commands before I can run this command:
According to this (the command is not recognized otherwise)
|
Looking through my links, some of those resources are old, has OpenCL support been removed? It seems open-mpi/hwloc#641 I feel I should also perhaps explain what I am looking for, AFIK open mpi uses CUDA as a sort of "implementation" and calls out to the CUDA driver (or ROCm driver) to do actually code execution with generalized tasks. what I am wondering is: can the same thing be done with OpenCL driver or is there an extension to do so? Please correct me if my understanding is mistaken. I imagine something similar happens on CPU's the underlying implementation might be pthreads or something. |
Please see Issue #12831 |
Would be curious to know, can one send/recv from OpenCL device buffers? |
Background information
I am trying to run MEEP on my GPU, I have both an Nvidia Card and an integrated Radeon card. Meep has the feature Parallel Meep, where scripts written using meep are launched through
mpirun
. I have successfully done this on the CPU. However I would really like to speed things up using the GPU, and I would like to avoid using the proprietary nvidia driver for now on on linux, its high maintenance and taints my kernel. I would like to try and run meep on my Nvidia GPU using the open source Mesa OpenCL driver instead. I saw OpenMPI does seem to support OpenCL [0], [1], [2], [3] I would like to avoid edits to actual meep code, Parallel Meep seems to be chunked, which from what I read is a necessity to run the code on the GPU?It does seem possible to interface with the gpu through
mpirun
, conda gave me this messageWhat version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
Using
dnf
on fedora... conda? (See above)Please describe the system on which you are running
Details of the problem
Im sorry this is a bit of a noob question. I described the background information above, I simply am having difficulty figuring out how to use
mpirun
with opencl. Does it have such an interface? Do I need to recompile meep? If so what should I do specifically? Is what I am trying to do possible?P.s getting both GPU's and the CPU in the game would be great as well, but that might be a separate question
The text was updated successfully, but these errors were encountered: