-
Notifications
You must be signed in to change notification settings - Fork 935
Closed
Description
Background information
I am trying to run scripts using meep and accelerate them using a GPU without modifying meep. I asked another meep, gpu, ompi related question, but am wondering if my assumptions about how ompi can be used are wrong
What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)
v5.0.5
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
I built it from source and installed it (and ucx) to a local directory
ompi config:
../configure --prefix=$HOME/.ompi_for_gpu/ompi --with-ucx=$HOME/.ompi_for_gpu/ucx --with-rocm --enable-rocm --without-cuda
Also compiled meep with OpenMP support
If you are building/installing from a git clone, please copy-n-paste the output from git submodule status.
No output
Please describe the system on which you are running
- Operating system/version: Fedora 40
- Computer hardware: Laptop with AMD Radeon integrated card
- Network type: WiFi
When I run the program, I dont see GPU usage significantly increase due to the program (though I see GPU memory being utilized). So i had two questions:
Can I use OpenMPI to run non GPU (programs not written with any GPU code) programs on a GPU?
if so, do I need to modify this command?
mpirun --mca pml ucx -n 8 python ./bent_waveguide.py -d rocm D D
Metadata
Metadata
Assignees
Labels
No labels