Re: [petsc-users] SLEPc: smallest eigenvalues

2021-09-27 Thread Varun Hiremath
Hi Jose, I implemented the LU factorized preconditioner and tested it using PREONLY + LU, but that actually is converging to the wrong eigenvalues, compared to just using BICGS + BJACOBI, or simply computing EPS_SMALLEST_MAGNITUDE without any preconditioning. My preconditioning matrix is only a

Re: [petsc-users] Turn off CUDA Devices information

2021-09-27 Thread Satish Balay via petsc-users
Do you have petsc built with superlu_dist? Satish On Mon, 27 Sep 2021, Yiyang Li wrote: > Hello, > > I have CUDA aware MPI, and I have upgraded from PETSc 3.12 to PETSc 3.15.4 > and petsc4py 3.15.4. > > Now, when I call > > PETSc.KSP().solve(..., ...) > > The information of GPU is always

[petsc-users] Turn off CUDA Devices information

2021-09-27 Thread Yiyang Li
Hello, I have CUDA aware MPI, and I have upgraded from PETSc 3.12 to PETSc 3.15.4 and petsc4py 3.15.4. Now, when I call PETSc.KSP().solve(..., ...) The information of GPU is always printed to stdout by every MPI rank, like CUDA version: v 11040 CUDA Devices: 0 : Quadro P4000 6 1 Global

Re: [petsc-users] Interaction between petsc4py and application Fortran library

2021-09-27 Thread Barry Smith
Nathan, Yes, you can call PetscInitializeFortran() from your Fortran library. Barry > On Sep 27, 2021, at 11:59 AM, WUKIE, NATHAN A DR-02 USAF AFMC AFRL/RQVC via > petsc-users wrote: > > How should petsc initialization be handled for a python application utilizing > petsc4py and a

[petsc-users] Interaction between petsc4py and application Fortran library

2021-09-27 Thread WUKIE, NATHAN A DR-02 USAF AFMC AFRL/RQVC via petsc-users
How should petsc initialization be handled for a python application utilizing petsc4py and a Fortran library application also using petsc? The petsc documentation states that PetscInitializeFortran "should be called soon AFTER the call to