- removed comment
madd not found
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
Keyword:
Comments (4)
-
reporter -
- removed comment
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?
-
reporter - changed status to resolved
- removed comment
Updating to CactusUtils/Vectors fixes the problem.
-
- changed status to closed
- edited description
- Log in to comment
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().