[Users] Error in thorn Vectors

Erik Schnetter schnetter at cct.lsu.edu
Mon Nov 6 09:38:57 CST 2017


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 at 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 at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>
>


-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20171106/7c6f8811/attachment-0001.html 


More information about the Users mailing list