It is successfully installed and you can start using it.
Barry
> On Nov 15, 2023, at 6:49 AM, 程奔 wrote:
>
> Hi Barry,
>
> I follow your suggestion and the result showed:
> mpiexec -n 1 ./ex19 -snes_monitor
> lid velocity = 0.0625, prandtl # = 1., grashof # = 1.
> 0 SNES Function norm
Hello,
The following simple petsc4py snippet runs out of memory, but I would like
to handle it from python with the usual try-except. Is there any way to do
so? How can I get the PETSc error codes in the python interface?
Thanks
from petsc4py import PETSc
import sys, petsc4py