[petsc-dev] OpenMP

Mark Adams mfadams at lbl.gov
Sat Nov 6 05:50:47 CDT 2021


Two questions on OMP:

* Can I test for the version of OMP? I want >= 5 and I see this, which
looks promising:
include/petscsys.h:#elif defined(_OPENMP) && *_OPENMP >= 201307* &&
!defined(_WIN32)

* What is the difference between HAVE_OPENMP and
HAVE_OPENMP_SUPPORT.

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211106/a46c22ae/attachment-0001.html>


More information about the petsc-dev mailing list