Skip to content
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

An interface to PETSc SNES nonlinear solve would be nice #160

Open
vpuri3 opened this issue Mar 8, 2023 · 1 comment
Open

An interface to PETSc SNES nonlinear solve would be nice #160

vpuri3 opened this issue Mar 8, 2023 · 1 comment
Labels

Comments

@vpuri3
Copy link
Member

vpuri3 commented Mar 8, 2023

No description provided.

@avik-pal
Copy link
Member

I was trying to get this done, but in the current state PETSc isn't even installable with DiffEqBase:

(NonlinearSolve) pkg> add PETSc
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package DocStringExtensions [ffbed154]:
 DocStringExtensions [ffbed154] log:
 ├─possible versions are: 0.4.6-0.9.3 or uninstalled
 ├─restricted by compatibility requirements with DiffEqBase [2b5f629d] to versions: 0.9.0-0.9.3
 │ └─DiffEqBase [2b5f629d] log:
 │   ├─possible versions are: 3.13.2-6.147.0 or uninstalled
 │   └─restricted to versions 6.146.0-6 by NonlinearSolve [8913a72c], leaving only versions: 6.146.0-6.147.0
 │     └─NonlinearSolve [8913a72c] log:
 │       ├─possible versions are: 3.5.6 or uninstalled
 │       └─NonlinearSolve [8913a72c] is fixed to version 3.5.6
 └─restricted by compatibility requirements with MPI [da04e1cc] to versions: 0.8.0-0.8.6 — no versions left
   └─MPI [da04e1cc] log:
     ├─possible versions are: 0.7.0-0.20.19 or uninstalled
     └─restricted by compatibility requirements with PETSc [ace2c81b] to versions: 0.15.0-0.19.2
       └─PETSc [ace2c81b] log:
         ├─possible versions are: 0.1.2-0.1.3 or uninstalled
         └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.2-0.1.3

Also, their Julia documentation is extremely sparse which makes it almost impossible to figure out how to use the different solvers.

There is https://github.com/gridap/GridapPETSc.jl/ but again the amount of docs they have is pretty much zero apart from API (unless I am looking at the wrong place).

I also seem to remember there was a recent package which wrapped the Petsc functionality in julia but lacked support for the nonlinear stuff.

Point being I don't think this will be handled anytime soon, till we have a decent Petsc wrapper in Julia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants