Re: [eigen] PGI compilation error

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


The default branch is the 3.0 one right?

I tried the to compile the tests with PGI, here are the first errors
(not sure about what you need):

"/users/pmarti/tmp/ei3/eigen/Eigen/src/Core/util/Memory.h", line 94: error:
          identifier "_mm_malloc" is undefined
      result = _mm_malloc(size, 16);
               ^

"/users/pmarti/tmp/ei3/eigen/Eigen/src/Core/util/Memory.h", line 165: error:
          identifier "_mm_free" is undefined
      _mm_free(ptr);
      ^

"/users/pmarti/tmp/ei3/eigen/Eigen/src/Core/arch/SSE/PacketMath.h",
line 142: warning:
          controlling expression is constant
  { ei_assert(false && "packet integer division are not supported by SSE");
    ^

"/users/pmarti/tmp/ei3/eigen/Eigen/src/Core/arch/SSE/PacketMath.h",
line 247: error:
          identifier "_mm_cvtss_f32" is undefined
  template<> EIGEN_STRONG_INLINE float  ei_pfirst<Packet4f>(const
Packet4f& a) { return _mm_cvtss_f32(a); }

                 ^

"/users/pmarti/tmp/ei3/eigen/Eigen/src/Core/arch/SSE/PacketMath.h",
line 248: error:
          identifier "_mm_cvtsd_f64" is undefined
  template<> EIGEN_STRONG_INLINE double ei_pfirst<Packet2d>(const
Packet2d& a) { return _mm_cvtsd_f64(a); }

Philippe

On Tue, Feb 23, 2010 at 11:38 AM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> I tried to fix the aligned issue in the default branch. You may try to
> grab that version and give it a shot.
>
> - Hauke
>
> On Tue, Feb 23, 2010 at 11:23 AM, Philippe Marti
> <philippe.marti@xxxxxxxxx> wrote:
>> PGI: pgCC 9.0-4 64-bit target on x86-64 Linux
>>
>>
>> "/users/pmarti/Documents/Code/git/FSDynamoCode/External/eigen/Eigen/src/Core/util/Macros.h",
>> line 193: catastrophic error:
>>          #error directive: Please tell me what is the equivalent of
>>          __attribute__((aligned(16))) for your compiler
>>  #error Please tell me what is the equivalent of
>> __attribute__((aligned(16))) for your compiler
>>   ^
>>
>> 1 catastrophic error detected in the compilation of
>> "/users/pmarti/Documents/Code/git/FSDynamoCode/Programs/ThermalConvectionRun.cpp".
>> Compilation terminated.
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/