[petsc-users] SuperLU + GPUs

Mark Adams mfadams at lbl.gov
Wed Apr 15 16:47:07 CDT 2020


On Wed, Apr 15, 2020 at 5:17 PM Satish Balay <balay at mcs.anl.gov> wrote:

> The build should work. It should give some verbose info [at runtime]
> regarding GPUs - from the following code.
>
>
I don't see that and I am running GPUs in my code and have gotten cusparse
LU to run. Should I use '-info :sys:'  ?


> >>>>> SRC/cublas_utils.c >>>>>>>>>>>
>  void DisplayHeader()
> {
>     const int kb = 1024;
>     const int mb = kb * kb;
>     // cout << "NBody.GPU" << endl << "=========" << endl << endl;
>
>     printf("CUDA version:   v %d\n",CUDART_VERSION);
>     //cout << "Thrust version: v" << THRUST_MAJOR_VERSION << "." <<
> THRUST_MINOR_VERSION << endl << endl;
>
>     int devCount;
>     cudaGetDeviceCount(&devCount);
>     printf( "CUDA Devices: \n \n");
> <snip>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> Satish
>
> On Wed, 15 Apr 2020, Junchao Zhang wrote:
>
> > I remember Barry said superlu gpu support is broken.
> > --Junchao Zhang
> >
> >
> > On Wed, Apr 15, 2020 at 3:47 PM Mark Adams <mfadams at lbl.gov> wrote:
> >
> > > How does one use SuperLU with GPUs. I don't seem to get any GPU
> > > performance data so I assume GPUs are not getting turned on. Am I wrong
> > > about that?
> > >
> > > I configure with:
> > > configure options: --with-fc=0 --COPTFLAGS="-g -O2 -fPIC -fopenmp"
> > > --CXXOPTFLAGS="-g -O2 -fPIC -fopenmp" --FOPTFLAGS="-g -O2 -fPIC
> -fopenmp"
> > > --CUDAOPTFLAGS="-O2 -g" --with-ssl=0 --with-batch=0 --with-cxx=mpicxx
> > > --with-mpiexec="jsrun -g1" --with-cuda=1 --with-cudac=nvcc
> > > --download-p4est=1 --download-zlib --download-hdf5=1 --download-metis
> > > --download-superlu --download-superlu_dist --with-make-np=16
> > > --download-parmetis --download-triangle
> > >
> --with-blaslapack-lib="-L/autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-6.4.0/netlib-lapack-3.8.0-wcabdyqhdi5rooxbkqa6x5d7hxyxwdkm/lib64
> > > -lblas -llapack" --with-cc=mpicc --with-shared-libraries=1 --with-x=0
> > > --with-64-bit-indices=0 --with-debugging=0
> > > PETSC_ARCH=arch-summit-opt-gnu-cuda-omp --with-openmp=1
> > > --with-threadsaftey=1 --with-log=1
> > >
> > > Thanks,
> > > Mark
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200415/0aaee889/attachment.html>


More information about the petsc-users mailing list