#1848: madd not found ---------------------+------------------------------------------------------ Reporter: sbrandt | Owner: Type: defect | Status: new Priority: unset | Milestone: Component: Other | Version: development version Keywords: | ---------------------+------------------------------------------------------ I get numerous errors of the form
/home/sbrandt/cactus/CactusFW/arrangements/Carpet/CarpetLib/src/prolongate_3d_rf2.cc:249:26: error: ‘madd’ is not a member of ‘VP {aka vecprops<double>}’
when trying to compile on my laptop usign gcc 5.1.1
#1848: madd not found ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: new Priority: unset | Milestone: Component: Other | Version: development version Resolution: | Keywords: ----------------------+-----------------------------------------------------
Comment (by sbrandt):
Update.... Getting rid of -march=x86_64 does not help. Neither does adding -march=native.
It appears the relevant definition of vecprops comes from arrangements/LSUThorns/Vectors/src/vectors.h, and it does not contain madd().
#1848: madd not found ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: new Priority: unset | Milestone: Component: Other | Version: development version Resolution: | Keywords: ----------------------+-----------------------------------------------------
Comment (by eschnett):
The current version of this thorn lives now in CactusUtils/Vectors.
madd is defined unconditionally when compiled by a C++ compiler.
From your preprocessor output I conclude: - you are building on a 64-bit Intel system - you have SSE2, but no other CPU features, corresponding to a bare-bones 64-bit Intel CPU - you are building with a C++ compiler - CCTK_REAL8 is double
Everything should be working. This is not a fancy feature.
Can you look at the new version of the thorn?
#1848: madd not found ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: closed Priority: unset | Milestone: Component: Other | Version: development version Resolution: invalid | Keywords: ----------------------+----------------------------------------------------- Changes (by sbrandt):
* status: new => closed * resolution: => invalid
Comment:
Updating to CactusUtils/Vectors fixes the problem.
trac@lists.einsteintoolkit.org