These intrinsics are not available in the SSE2 extensions, and a respective #ifdef is missing. I believe this has been corrected on a branch, but apparently not yet in the main version of this thorn. Please open a ticket for this.

-erik

On Mon, Nov 6, 2017 at 10:04 AM, Hamilton, Maria <babiuc@marshall.edu> wrote:
After the last Cactus update, I got this error:



Checking status of thorn Vectors
COMPILING arrangements/CactusUtils/Vectors/src/vectors.cc
In file included from /Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h:18:0,
                 from /Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors.cc:1:
/Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors-4-SSE.h: In function 'CCTK_REAL4 k4sum(CCTK_REAL4_VEC)':
/Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors-4-SSE.h:709:29: error: '_mm_hadd_ps' was not declared in this scope
   CCTK_REAL4_VEC const x2 = _mm_hadd_ps(x1, x1);
                             ^~~~~~~~~~~
/Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors-4-SSE.h:709:29: note: suggested alternative: '_mm_add_ps'
   CCTK_REAL4_VEC const x2 = _mm_hadd_ps(x1, x1);
                             ^~~~~~~~~~~
                             _mm_add_ps
In file included from /Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors.h:30:0,
                 from /Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors.cc:1:
/Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors-8-SSE2.h: In function 'CCTK_REAL8 k8sum(CCTK_REAL8_VEC)':
/Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors-8-SSE2.h:753:29: error: '_mm_hadd_pd' was not declared in this scope
   CCTK_REAL8_VEC const x2 = _mm_hadd_pd(x1, x1);
                             ^~~~~~~~~~~
/Users/babiuc/Cactus/arrangements/CactusUtils/Vectors/src/vectors-8-SSE2.h:753:29: note: suggested alternative: '_mm_add_pd'
   CCTK_REAL8_VEC const x2 = _mm_hadd_pd(x1, x1);
                             ^~~~~~~~~~~
                             _mm_add_pd
make[4]: *** [vectors.cc.o] Error 1
make[3]: *** [make.checked] Error 2
make[2]: *** [/Users/babiuc/Cactus/configs/ET/lib/libthorn_Vectors.a] Error 2
make[1]: *** [ET] Error 2
make: *** [ET-rebuild] Error 2​


Please advise.


thank you,

Maria
​


_______________________________________________
Users mailing list
Users@einsteintoolkit.org
http://lists.einsteintoolkit.org/mailman/listinfo/users




--
Erik Schnetter <schnetter@cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/