<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
Here is the problem. You set --CXXOPTFLAGS="-g -O0 -fPIC -fopenmp" to indicate how to compile for OpenMP but when ./configure checks the installed KokkosKernel include files it uses CXXPPFLAGS. (Since you provided the flag CXXOPTFLAGS ./configure never determines the flag to put into CXXPPFLAGS.<br>
<br>
It is more desirable if you do not provide -fPIC -fopenmp. ./configure will figure them out for you.<br></blockquote><div><br></div><div>:( </div></div></div>