[petsc-users] Turn off CUDA Devices information

Yiyang Li liyiyang30 at gmail.com
Mon Sep 27 20:22:11 CDT 2021


Hello,

I have CUDA aware MPI, and I have upgraded from PETSc 3.12 to PETSc 3.15.4
and petsc4py 3.15.4.

Now, when I call

PETSc.KSP().solve(..., ...)

The information of GPU is always printed to stdout by every MPI rank, like

CUDA version:   v 11040
CUDA Devices:

0 : Quadro P4000 6 1
  Global memory:   8105 mb
  Shared memory:   48 kb
  Constant memory: 64 kb
  Block registers: 65536

CUDA version:   v 11040
CUDA Devices:

0 : Quadro P4000 6 1
  Global memory:   8105 mb
  Shared memory:   48 kb
  Constant memory: 64 kb
  Block registers: 6553

...

I wonder if there is an option to turn that off?
I have tried including

-cuda_device NONE

in command options, but that did not work.

Best regards,
Yiyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210927/347c1902/attachment.html>


More information about the petsc-users mailing list