PETSC.jl MPI wrapper

Hello,
I would love to know if someone has used PETSC wrapper in Julia for MPI? I am planning to develop a parallel code using the PETSC wrapper and would like to know how extensive the PETSC functionality is in Julia. Can one expect to find all PETSC commands (just like in C,C++,Fortran)? Also how good is the documentation?

Not a user of it but check out https://github.com/JuliaParallel/PETSc.jl.

1 Like

In PETSc.jl, @jkozdon started to automatically wrap the full PETSc package, which is available in this branch and employs the precompiled PETSc_jll binaries (which also works in parallel).
To make this more julia-like, we started adding some functionality for DMDA and partly for DMSTAG but ran out of time a while ago. We are hoping to finish this work over the coming weeks, and push this branch back to main.
Documentation is very limited, but as it mostly follows the actual PETSc routines, it shouldn’t be too difficult to use (have a look at the examples or the quite extensive tests).

1 Like

Just an update after a long time. The PETSc.jl repo is now updated to work on the latest Julia release (1.11) - by @boriskaus and me.

A major next project would be to do what @boriskaus outlined above. Much of the work already exists in a PR on the repo, that will need to be revived.

1 Like