Incidentally, I found PETSc does not compile when configured using--with-scalar-type=complex --with-kokkos-dir=.... --with-kokkos_kernels-dir=...
Some fixes are trivial, others require some more thought.Thanks-- Stefano