Hi Freddie,

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.

Yuri


On Friday, September 21, 2018 at 1:37:37 AM UTC-7, Freddie Witherden wrote:
>
> Hi Yuri, 
>
> On 21/09/2018 06:11, Yuri wrote: 
> > pytools.prefork.ExecError: error invoking 'cc -shared -std=c99 -Ofast 
> > -march=native -fopenmp -fPIC -o libtmp.so tmp.c -lm': status 1 invoking 
> > 'cc -shared -std=c99 -Ofast -march=native -fopenmp -fPIC -o libtmp.so 
> > tmp.c -lm': b'warning: loop not vectorized: failed explicitly specified 
> > loop vectorization [-Wpass-failed=loop-vectorize]\n1 warning 
> > generated.\n/usr/bin/ld: cannot find -lomp\ncc: error: linker command 
> > failed with exit code 1 (use -v to see invocation)\n' 
>
> As the name suggests the OpenMP backend requires a compiler which 
> supports OpenMP.  From the linker error above it appears as if libomp is 
> missing on your system (although this is an implementation detail).  You 
> may need to either install an additional support library or a different 
> compiler version. 
>
> 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.

Reply via email to