[petsc-users] compile petsc error about mmintrin.h

Barry Smith bsmith at mcs.anl.gov
Fri Mar 25 08:47:36 CDT 2011


  We need configure.log and make.log sent to petsc-maint at mcs.anl.gov   Always error on the side of sending too much information to petsc-maint at mcs.anl.gov rather than too few.

  Barry

On Mar 25, 2011, at 1:57 AM, Gong Ding wrote:

> On centos5 with icc version 11.1, factimpl.c produced many errors such as 
> 
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/mmintrin.h(78): error: cast to type "__m64" is not allowed
>    return (__m64) __i;
> 
> This problem exists for a long time. In the petsc version of 3.1, I just comment out 
> #ifndef PETSC_HAVE_XMMINTRIN_H
> #define PETSC_HAVE_XMMINTRIN_H 1
> #endif
> in the petscconf.h, and compile it.
> 
> However, petsc-dev has other dependence on mmintrin.h, comment out PETSC_HAVE_XMMINTRIN_H will product other problems. 
> How can I solve this problem?
> 
> 
> BTW, it seems gcc works well.
> 
> Gong Ding
> 
> 
> 



More information about the petsc-users mailing list