<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>   In kokkos-kernels.py comment out <div class=""><br class=""></div><div class="">#self.includes         = ['KokkosBlas.hpp','KokkosSparse_CrsMatrix.hpp']</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">   I don't know why this didn't hit has a long long time ago.</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 24, 2021, at 8:21 AM, Mark Adams <<a href="mailto:mfadams@lbl.gov" class="">mfadams@lbl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I don't see this in kokkos-kernels.py.<div class="">I seem to get past Kokkos but it does in KK.</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 23, 2021 at 4:41 PM Junchao Zhang <<a href="mailto:junchao.zhang@gmail.com" class="">junchao.zhang@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">Hi, Mark,<div class="">  It is because in configure check of CUDA, we compile <a href="http://conftest.cc" class="">conftest.cc</a> (which includes kokkos headers) with mpicxx. Kokkos complains it was configured with cuda but now is not compiled with cudac.</div><div class=""><br class=""></div><div class="">  A workaround is in kokkos.py and kokkos-kernels.py, comment out lines as follows, to disable the check.</div><div class=""><span style="color:rgb(0,128,0);font-family:Menlo,Monaco,"Courier New",monospace;font-size:14px;white-space:pre-wrap" class="">  #self.includes </span><span style="color:rgb(0,128,0);font-family:Menlo,Monaco,"Courier New",monospace;font-size:14px;white-space:pre-wrap" class="">= ['Kokkos_Macros.hpp']</span><div class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">--Junchao Zhang</div></div></div><br class=""></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 23, 2021 at 1:59 PM Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank" class="">mfadams@lbl.gov</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div class="">I had Kokkos working here but I seemed to have broken it:</div><div class=""><br class=""></div>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"<br class=""> #error \<br class=""> <br class=""><div class="">Any ideas?</div></div>
</blockquote></div>
</blockquote></div>
<span id="cid:f_knvrseqp0"><configure.log></span></div></blockquote></div><br class=""></div></body></html>