[petsc-dev] Kokkos error on SUMMIT
Mark Adams
mfadams at lbl.gov
Fri Oct 2 14:58:50 CDT 2020
On Fri, Oct 2, 2020 at 3:15 PM Barry Smith <bsmith at petsc.dev> wrote:
>
> Mark,
>
> Looks like you are building Kokkos without CUDA.
Yes. This is a CPU build of Kokkos.
> You don't have --with-cuda on configure line that is used by Kokkos to
> determine what version to build.
>
> Junchao,
>
> I guess you need to test Kokkos Kernels without CUDA and HIP and make a
> few changes.
>
I'm trying with OpenMP right now. If you want CPU runs then asking for OMP
is not terrible.
>
> Barry
>
>
>
>
> #if defined(PETSC_HAVE_CUDA)
> #define WaitForKokkos() PetscCUDASynchronize ? (Kokkos::fence(),0) : 0;
> #elif defined(PETSC_HAVE_HIP)
> #define WaitForKokkos() PetscHIPSynchronize ? (Kokkos::fence(),0) : 0;
> #endif
>
>
>
> > On Oct 2, 2020, at 11:47 AM, Mark Adams <mfadams at lbl.gov> wrote:
> >
> >
> > <configure.log><make.log>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201002/89367a8f/attachment.html>
More information about the petsc-dev
mailing list