<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 15, 2020 at 5:17 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The build should work. It should give some verbose info [at runtime] regarding GPUs - from the following code.<br>
<br></blockquote><div><br></div><div>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:' ?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>>>>> SRC/cublas_utils.c >>>>>>>>>>><br>
void DisplayHeader()<br>
{<br>
const int kb = 1024;<br>
const int mb = kb * kb;<br>
// cout << "NBody.GPU" << endl << "=========" << endl << endl;<br>
<br>
printf("CUDA version: v %d\n",CUDART_VERSION);<br>
//cout << "Thrust version: v" << THRUST_MAJOR_VERSION << "." << THRUST_MINOR_VERSION << endl << endl; <br>
<br>
int devCount;<br>
cudaGetDeviceCount(&devCount);<br>
printf( "CUDA Devices: \n \n"); <br>
<snip><br>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<br>
<br>
Satish<br>
<br>
On Wed, 15 Apr 2020, Junchao Zhang wrote:<br>
<br>
> I remember Barry said superlu gpu support is broken.<br>
> --Junchao Zhang<br>
> <br>
> <br>
> On Wed, Apr 15, 2020 at 3:47 PM Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
> <br>
> > How does one use SuperLU with GPUs. I don't seem to get any GPU<br>
> > performance data so I assume GPUs are not getting turned on. Am I wrong<br>
> > about that?<br>
> ><br>
> > I configure with:<br>
> > configure options: --with-fc=0 --COPTFLAGS="-g -O2 -fPIC -fopenmp"<br>
> > --CXXOPTFLAGS="-g -O2 -fPIC -fopenmp" --FOPTFLAGS="-g -O2 -fPIC -fopenmp"<br>
> > --CUDAOPTFLAGS="-O2 -g" --with-ssl=0 --with-batch=0 --with-cxx=mpicxx<br>
> > --with-mpiexec="jsrun -g1" --with-cuda=1 --with-cudac=nvcc<br>
> > --download-p4est=1 --download-zlib --download-hdf5=1 --download-metis<br>
> > --download-superlu --download-superlu_dist --with-make-np=16<br>
> > --download-parmetis --download-triangle<br>
> > --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<br>
> > -lblas -llapack" --with-cc=mpicc --with-shared-libraries=1 --with-x=0<br>
> > --with-64-bit-indices=0 --with-debugging=0<br>
> > PETSC_ARCH=arch-summit-opt-gnu-cuda-omp --with-openmp=1<br>
> > --with-threadsaftey=1 --with-log=1<br>
> ><br>
> > Thanks,<br>
> > Mark<br>
> ><br>
> <br>
<br>
</blockquote></div></div>