[petsc-users] Using PETSc with GPU supported SuperLU_Dist

Junchao Zhang jczhang at mcs.anl.gov
Sat Feb 22 21:02:11 CST 2020


Great. Thanks.

On Sat, Feb 22, 2020 at 8:59 PM Balay, Satish <balay at mcs.anl.gov> wrote:

> The fix is now in both  maint and master
>
> https://gitlab.com/petsc/petsc/-/merge_requests/2555
>
> Satish
>
> On Sat, 22 Feb 2020, Junchao Zhang via petsc-users wrote:
>
> > We met the error before and knew why. Will fix it soon.
> > --Junchao Zhang
> >
> >
> > On Sat, Feb 22, 2020 at 11:43 AM Abhyankar, Shrirang G via petsc-users <
> > petsc-users at mcs.anl.gov> wrote:
> >
> > > Thanks, Satish. Configure and make go through fine. Getting an
> undefined
> > > reference error for VecGetArrayWrite_SeqCUDA.
> > >
> > >
> > >
> > > Shri
> > >
> > > *From: *Satish Balay <balay at mcs.anl.gov>
> > > *Reply-To: *petsc-users <petsc-users at mcs.anl.gov>
> > > *Date: *Saturday, February 22, 2020 at 8:25 AM
> > > *To: *"Abhyankar, Shrirang G" <shrirang.abhyankar at pnnl.gov>
> > > *Cc: *"petsc-users at mcs.anl.gov" <petsc-users at mcs.anl.gov>
> > > *Subject: *Re: [petsc-users] Using PETSc with GPU supported
> SuperLU_Dist
> > >
> > >
> > >
> > > On Sat, 22 Feb 2020, Abhyankar, Shrirang G via petsc-users wrote:
> > >
> > >
> > >
> > > Hi,
> > >
> > >     I want to install PETSc with GPU supported SuperLU_Dist. What are
> the
> > > configure options I should be using?
> > >
> > >
> > >
> > >
> > >
> > > Shri,
> > >
> > >
> > >
> > >
> > >
> > >     if self.framework.argDB['download-superlu_dist-gpu']:
> > >
> > >       self.cuda           =
> framework.require('config.packages.cuda',self)
> > >
> > >       self.openmp         =
> > > framework.require('config.packages.openmp',self)
> > >
> > >       self.deps           =
> > > [self.mpi,self.blasLapack,self.cuda,self.openmp]
> > >
> > > <<<<<
> > >
> > >
> > >
> > > So try:
> > >
> > >
> > >
> > > --with-cuda=1 --download-superlu_dist=1 --download-superlu_dist-gpu=1
> > > --with-openmp=1 [and usual MPI, blaslapack]
> > >
> > >
> > >
> > > Satish
> > >
> > >
> > >
> > >
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200222/62bc67eb/attachment-0001.html>


More information about the petsc-users mailing list