Hi Yuri,

On 21/09/2018 09:47, Yuri wrote:
> I do have libomp installed: /usr/local/lib/libomp.so.0
> It looks like -L/usr/local/lib isn't passed to the linker.
> LDFLAGS should be preserved from the time when the project was built,
> and passed to the linker every time thereafter.

PyFR is not 'built' per se.  All C code is generated, compiled, and
linked, at run time.  Indeed, many users of PyFR just run it directly
from a clone of the git repository without every going through setup.py.

If your compiler requires additional flags you have a few options.  One
is to simply export the relevant environmental variables before running
PyFR.  Alternatively, in your .ini file you may set

[backend-openmp]
cflags = -L/usr/local/lib

as appropriate.  (It says cflags however everything is done in one shot
and so linker flags are fine here, too.)

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 pyfrmailinglist+unsubscr...@googlegroups.com.
To post to this group, send an email to pyfrmailinglist@googlegroups.com.
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to