I see. To confirm: 1) There are no installations of `petsc4py` with GPU support available through a package manager 2) Building and configuring PETSc with GPU support will also build a version of `petsc4py`.
Thanks, Rohan On Thu, Aug 18, 2022 at 4:31 PM Satish Balay <ba...@mcs.anl.gov> wrote: > You could look at PETSc install instructions and examples > https://petsc.org/release/install/install/#common-example-usages > > Assuming a linux box with cuda at /usr/local/cuda, mpicc etc in PATH, and > have system blas/lapack installed, the following build process should work > > ./configure --with-cuda=1 --with-petsc4py && make && make check > > Satish > > On Thu, 18 Aug 2022, Rohan Yadav wrote: > > > Hi, > > > > I'm trying to use `petsc4py` on a machine with CUDA GPUs. Is there a way > to > > download a version of `petsc4py` from pip or conda with GPU support? If > > not, how do I go about installing `petsc4py` with GPU support from > source? > > I can't find much documentation around doing this. > > > > Thanks, > > > > Rohan > > > >