[petsc-users] Using PETSc with GPU supported SuperLU_Dist

Abhyankar, Shrirang G shrirang.abhyankar at pnnl.gov
Sat Feb 22 11:41:46 CST 2020


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/c6ded6b5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.log
Type: application/octet-stream
Size: 4994 bytes
Desc: test.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200222/c6ded6b5/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 106830 bytes
Desc: make.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200222/c6ded6b5/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 2546435 bytes
Desc: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200222/c6ded6b5/attachment-0005.obj>


More information about the petsc-users mailing list