Open daichou03 opened 4 years ago
Hi,
I have met the same problem. Do you find the solution? Thanks!
Hey guys,
I just succeeded compiling the program by modifying CMAKE_CXX_FLAGS from -march=native to -march=haswell in the /storage_engine/CMakeLists.txt file in the following way:
The original version:
set (CMAKE_CXX_FLAGS "-mavx2 -fPIC -std=c++0x -pedantic -O3 -Wall -Wno-unused-function -Wextra -march=native -mtune=native -DNUM_THREADS_IN=${NUM_THREADS}")
Modified Version
set (CMAKE_CXX_FLAGS "-mavx2 -fPIC -std=c++0x -pedantic -O3 -Wall -Wno-unused-function -Wextra -march=haswell -mtune=native -DNUM_THREADS_IN=${NUM_THREADS}")
I haven't figured out why it works, and hope someone could let me know. As far as I know, vxorps
is an instruction of the AVX, which is critical about computer architecture.
Hope my solution helps.
I am trying to setup in a docker environment as: https://hub.docker.com/r/craberger/emptyheaded/
Then follow all the steps as in overview:
And "getting started" in docs/notebooks/, until:
Then, it failed at a point as these errors:
I suspect it's something wrong with CMake, but as the date I am posting this, the CMake version on the docker is 2.8.12.2-0ubuntu3, which is up to date. Does the same thing happens for others?