-
Notifications
You must be signed in to change notification settings - Fork 39
PETSc.jl and GPUs #102
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
Comments
@boriskaus I believe we do not build |
No we don't build it with GPU support (I imagine that doing that with BinaryBuilder is a nightmare). If people are interested in this (which more and more are), they should perhaps build the correct version of PETSc themselves and link that one to |
We do it increasingly in BinaryBuilder, but it definitely increases complexity. I agree that for now, this is a future feature, and people who need it should use their own PETSc build. Of course, contributions to do this are welcome (there are several Yggdrasil examples with GPU enabled packages now). |
Hi, I was looking into this package as an alternative option for our GMG in WaterLily.jl. GPU support in PETSc.jl would be very much appreciated, so I was wondering if there are plans in this direction for the short/mid term? |
Unless you really need to use the nonlinear solvers of |
Thanks for the details. I was looking for an alternative to our GMG, which already works with GPUs. The only constraints I had in mind were support for MPI, automatic differentiation, and GPU. The packages you mention offer support for finite differences/general stencils, but not as linear algebra solvers, right? |
Actually it may not be too hard to add gpu support. Lots of packages do that nowadays. It is worth a shot at least. |
In order to use PETSc on GPUs, we'll also need to wrap the necessary data types for CUDA and OpenCL. We'll need to provide the compiled binaries as well; https://www.mcs.anl.gov/petsc/features/gpus.html
The text was updated successfully, but these errors were encountered: