In kokkos-kernels.py comment out 

#self.includes         = ['KokkosBlas.hpp','KokkosSparse_CrsMatrix.hpp']


   I don't know why this didn't hit has a long long time ago.



> On Apr 24, 2021, at 8:21 AM, Mark Adams <[email protected]> wrote:
> 
> I don't see this in kokkos-kernels.py.
> I seem to get past Kokkos but it does in KK.
> 
> On Fri, Apr 23, 2021 at 4:41 PM Junchao Zhang <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi, Mark,
>   It is because in configure check of CUDA, we compile conftest.cc (which 
> includes kokkos headers) with mpicxx. Kokkos complains it was configured with 
> cuda but now is not compiled with cudac.
> 
>   A workaround is in kokkos.py and kokkos-kernels.py, comment out lines as 
> follows, to disable the check.
>   #self.includes = ['Kokkos_Macros.hpp']
> 
> --Junchao Zhang
> 
> 
> On Fri, Apr 23, 2021 at 1:59 PM Mark Adams <[email protected] 
> <mailto:[email protected]>> wrote:
> I had Kokkos working here but I seemed to have broken it:
> 
> global/homes/m/madams/petsc/arch-cori-gpu-opt-kokkos-gcc/include/setup/Kokkos_Setup_Cuda.hpp:54:2:
>  error: #error "KOKKOS_ENABLE_CUDA defined but the compiler is not defining 
> the __CUDACC__ macro as expected"
>  #error \
>  
> Any ideas?
> <configure.log>

Reply via email to