[petsc-users] PETSc unable to find cuda

Blondel, Sophie sblondel at utk.edu
Wed Jul 23 10:48:26 CDT 2025


Hi,

I am trying to install PETSc (3.22.2) with Kokkos and cuda support on an Ubuntu laptop with dependencies loaded with Conda.

The configure line is: ./configure PETSC_DIR=/home/sophie/Workspace/xolotl-develop-source/external/petsc PETSC_ARCH=rel-cuda --prefix=/home/sophie/Workspace/xolotl-develop-cuda/external/petsc_install --with-fc=0 --with-cuda=1 --with-mpi --with-openmp=0 --with-debugging=0 --with-shared-libraries --with-64-bit-indices --download-kokkos --download-kokkos-kernels --download-hdf5 --download-hdf5-configure-arguments=--enable-parallel --COPTFLAGS=-O3 --CXXOPTFLAGS=-O3 --with-cuda-arch=86 --CUDAOPTFLAGS=-O3

And the configure.log is attached. Let me know if I can provide additional information.

Best,

Sophie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250723/f95ddff8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: text/x-log
Size: 642762 bytes
Desc: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250723/f95ddff8/attachment-0001.bin>


More information about the petsc-users mailing list