[petsc-users] Using PETSc with GPU supported SuperLU_Dist
Satish Balay
balay at mcs.anl.gov
Sat Feb 22 12:27:48 CST 2020
Looks like a bug in petsc that needs fixing. However - you shouldn't need options '--with-cxx-dialect=C++11 --with-clanguage=c++'
Satish
On Sat, 22 Feb 2020, Abhyankar, Shrirang G via petsc-users 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
>
>
>
More information about the petsc-users
mailing list