[petsc-users] 'nvcc -show' Error for configure with NVCC

Qiyue Lu qiyuelu1 at gmail.com
Fri Oct 6 16:40:12 CDT 2023


Hello,
I am trying to configure PETSc(current release version) with NVCC, with
these options:
./configure --with-cc=nvcc --with-cxx=nvcc --with-fc=0 --with-cuda=1

However, I got error like:
---------------------------------------------------------------------------------------------
  Could not execute "['nvcc -show']":
  nvcc fatal   : Unknown option '-show'
*********************************************************************************************

I wonder where this -show option comes from? It seems safe to disable this
option.

Thanks,
Qiyue Lu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20231006/16e74406/attachment-0001.html>


More information about the petsc-users mailing list