Hi, Philip, Thanks for reporting. I will have a look at the issue. --Junchao Zhang
On Wed, Jun 7, 2023 at 9:30 AM Fackler, Philip via petsc-users < [email protected]> wrote: > I'm encountering a problem in xolotl. We initialize kokkos before > initializing petsc. Therefore... > > The pointer referenced here: > > https://gitlab.com/petsc/petsc/-/blob/main/src/vec/is/sf/impls/basic/kokkos/sfkok.kokkos.cxx#L363 > <https://gitlab.com/petsc/petsc/-/blob/main/include/petsc_kokkos.hpp> > > from here: > https://gitlab.com/petsc/petsc/-/blob/main/include/petsc_kokkos.hpp > > remains null because the code to initialize it is skipped here: > > https://gitlab.com/petsc/petsc/-/blob/main/src/sys/objects/kokkos/kinit.kokkos.cxx#L28 > See line 71. > > Can this be modified to allow for kokkos to have been initialized by the > application before initializing petsc? > > Thank you for your help, > > > *Philip Fackler * > Research Software Engineer, Application Engineering Group > Advanced Computing Systems Research Section > Computer Science and Mathematics Division > *Oak Ridge National Laboratory* >
