[petsc-dev] invocation of nvcc

Satish Balay balay at mcs.anl.gov
Thu Nov 4 12:09:04 CDT 2021


On Thu, 4 Nov 2021, Mark Adams wrote:

> Does anyone know if PETSc calls nvcc and hence can add flags to the
> invocation? nvcc wants a flag like -mp=gpu but I don't know if we do that
> or a compiler wrapper in the environment.

$ ./configure --help |grep CUDA
<snip>
  --CUDAC=<prog>
       Specify the CUDA compiler
  --CUDAFLAGS=<string>
       Specify the CUDA compiler options
<snip>

Satish


More information about the petsc-dev mailing list