The build should work. It should give some verbose info [at runtime] regarding GPUs - from the following code.
>>>>> 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 <mfad...@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 > > >