Hi Freddie,
Thank you very much indeed for your answer.
It does solve the problem.
Regards,
Watchapon
On Monday, June 22, 2015 at 6:47:00 PM UTC+7, Freddie Witherden wrote:
>
> Hi Watchapon,
>
> On 22/06/15 12:41, Watchapon Rojanaratanangkule wrote:
> > I am trying to run PyFR0.8.0 using openmp backend, but the following
> > error occurred. I am not sure if the error happened due to Python or gcc
> > or even Blas library. I am running PyFR on Mac OS X 10.10.3 and using
> > Python 3.4.3, gcc 4.9.2 and atlas for Blas library.
>
> The issue is somewhat suble and can be reproduced as follows:
>
> calcium:~ freddie$ cat test.c
> #include <stdio.h>
>
> int main()
> {
> printf("%f\n", 3.14);
> return 0;
> };
>
> calcium:~ freddie$ gcc-mp-4.9 -march=native test.c
> cc7YTUIB.s:13:no such instruction: `vmovd %rax, %xmm0'
>
> where we see that it is an issue with the distribution of GCC being
> unable to handle AVX instructions correctly.
>
> The workaround is to remove the "-march=native" flag from
> pyfr/backends/openmp/compiler.py file.
>
> However, this is fundamentally a compiler problem: compilers should not
> be emitting instructions which they are uanble to assemble.
>
> 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 http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.