Hi Zach,

On 23/03/18 19:09, Zach Davis wrote:
> My question may likely be addressed to Freddie.  Previously, I had been
> running the clang-omp compiler with PyFr as the cc compiler in order to
> use OpenMP as a backend..  Apparently clang-omp has been deprecated,
> since OpenMP has been rolled into the main llvm branch.  I have
> installed libomp, and it works with Apple’s built-in clang compiler, but
> they have disabled the requisite driver.  I can get it to work by using
> the frontend option which looks something like:
> 
> clang -Xclang -fopenmp test.c -I/usr/local/include -L/usr/local/lib
> -lomp -o test
> 
> Is there away to add these additional flags, so that PyFR uses them when
> compiling the kernel?  Will simply adding them to the cc line in the
> *.ini file work?

There is a cflags directive for this purpose.  This will allow you to
add whatever flags you need.

Regards, Freddie.

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to