[petsc-users] Kokkos with OpenMP

Mark Adams mfadams at lbl.gov
Sun Jan 17 21:39:16 CST 2021


>
>
>
> 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.
>
> It is more desirable if you do not provide -fPIC  -fopenmp.  ./configure
> will figure them out for you.
>

:(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210117/850f5252/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 886061 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210117/850f5252/attachment-0001.obj>


More information about the petsc-users mailing list