[petsc-dev] Using multiple mallocs with PETSc

Barry Smith bsmith at mcs.anl.gov
Fri Mar 10 20:54:27 CST 2017


  Why should Apple support some crappy programming model?

> On Mar 10, 2017, at 8:52 PM, Jeff Hammond <jeff.science at gmail.com> wrote:
> 
>> 
>>  Disappointing on my Mac.
>> 
>> WARNING: Could not locate OpenMP support. This warning can also occur if compiler already supports OpenMP
>> checking omp.h usability... no
>> checking omp.h presence... no
>> checking for omp.h... no
>> omp.h is required for this library
>> 
> 
> Blame Apple for not supporting OpenMP in their system compiler. You need to Homebrew GCC or recent Clang to get OpenMP on Mac. Or you can install Intel (or PGI <ducks>).
> 
> Even if you get past this, you may run into other issues, which I captured on https://github.com/memkind/memkind/issues/34 a while ago. If libnuma is still a mandatory dependency, it's not available on Mac.
> 
> Jeff




More information about the petsc-dev mailing list