Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make failed on docker system #104

Open
sandyren opened this issue Dec 10, 2024 · 0 comments
Open

make failed on docker system #104

sandyren opened this issue Dec 10, 2024 · 0 comments

Comments

@sandyren
Copy link

Hi, I tried to build mixer on the docker (ubuntu OS), it kept showing same failed error, my background is not programming and I googled the error and did not find any solution, any help will be much appreciated! Here is the log information:

~/mixer/src/build# cmake .. && make bgmg -j16
-- Build type: Release
-- C++ compiler: GNU
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
CMAKE_C_FLAGS is -fPIC -march=native -ggdb
CMAKE_C_FLAGS_DEBUG is -g -O0
CMAKE_C_FLAGS_RELEASE is -O3 -DNDEBUG
CMAKE_CXX_FLAGS is -std=c++11 -fPIC -march=native -ggdb
CMAKE_CXX_FLAGS_DEBUG is -g -O0
CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG
-- Boost found.
-- Found Boost components:
program_options;filesystem;system;date_time
-- Boost_LIBRARIES: Boost::program_options;Boost::filesystem;Boost::system;Boost::date_time
-- Configuring done
-- Generating done
-- Build files have been written to: /root/mixer/src
[ 37%] Built target zlibstatic
[ 39%] Building CXX object CMakeFiles/bgmg-static.dir/bgmg_calculator.cc.o
[ 41%] Building CXX object CMakeFiles/bgmg-static.dir/bgmg_calculator_unified.cc.o
[ 44%] Building CXX object CMakeFiles/bgmg-static.dir/bgmg_calculator_legacy.cc.o
[ 46%] Building CXX object CMakeFiles/bgmg-static.dir/ld_matrix.cc.o
[ 48%] Building C object CMakeFiles/bgmg-static.dir/FastDifferentialCoding/fastdelta.c.o
[ 51%] Building CXX object CMakeFiles/bgmg-static.dir/plink_ld.cc.o
[ 53%] Building CXX object CMakeFiles/bgmg-static.dir/plink_common.cc.o
/root/mixer/src/FastDifferentialCoding/fastdelta.c: In function 'compute_deltas':
/root/mixer/src/FastDifferentialCoding/fastdelta.c:26:5: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i prev = _mm_set1_epi32(starting_point);
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:26:20: warning: implicit declaration of function '_mm_set1_epi32' [-Wimplicit-function-declaration]
__m128i prev = _mm_set1_epi32(starting_point);
^~~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:29:9: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i curr = _mm_lddqu_si128 (( const __m128i*) input + i );
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:29:25: warning: implicit declaration of function '_mm_lddqu_si128' [-Wimplicit-function-declaration]
__m128i curr = _mm_lddqu_si128 (( const __m128i*) input + i );
^~~~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:29:50: error: unknown type name '__m128i'
__m128i curr = _mm_lddqu_si128 (( const __m128i*) input + i );
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:30:9: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i delta = _mm_sub_epi32(curr,
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:30:25: warning: implicit declaration of function '_mm_sub_epi32' [-Wimplicit-function-declaratio]
__m128i delta = _mm_sub_epi32(curr,
^~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:31:38: warning: implicit declaration of function '_mm_alignr_epi8' [-Wimplicit-function-declaration]
_mm_alignr_epi8(curr, prev, 12));
^~~~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:32:9: warning: implicit declaration of function '_mm_storeu_si128' [-Wimplicit-function-declaration]
_mm_storeu_si128((__m128i*)output + i,delta);
^~~~~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:32:27: error: '__m128i' undeclared (first use in this function); did you mean '__int128'?
_mm_storeu_si128((__m128i*)output + i,delta);
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:32:27: note: each undeclared identifier is reported only once for each function it appears in
/root/mixer/src/FastDifferentialCoding/fastdelta.c:32:35: error: expected expression before ')' token
_mm_storeu_si128((__m128i*)output + i,delta);
^
/root/mixer/src/FastDifferentialCoding/fastdelta.c:35:25: warning: implicit declaration of function '_mm_extract_epi32'; did you mean '__chkp_extract_upper'? [-Wimplicit-function-declaration]
uint32_t lastprev = _mm_extract_epi32(prev,3);
^~~~~~~~~~~~~~~~~
__chkp_extract_upper
/root/mixer/src/FastDifferentialCoding/fastdelta.c: In function 'compute_deltas_inplace':
/root/mixer/src/FastDifferentialCoding/fastdelta.c:46:5: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i prev = _mm_set1_epi32(starting_point);
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:49:9: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i curr = _mm_lddqu_si128 (( const __m128i*) buffer + i );
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:49:50: error: unknown type name '__m128i'
__m128i curr = _mm_lddqu_si128 (( const __m128i*) buffer + i );
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:50:9: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i delta = _mm_sub_epi32(curr,
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:52:27: error: '__m128i' undeclared (first use in this function); did you mean '__int128'?
_mm_storeu_si128((__m128i*)buffer + i,delta);
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:52:35: error: expected expression before ')' token
_mm_storeu_si128((__m128i*)buffer + i,delta);
^
/root/mixer/src/FastDifferentialCoding/fastdelta.c: In function 'compute_prefix_sum':
/root/mixer/src/FastDifferentialCoding/fastdelta.c:67:5: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i prev = _mm_set1_epi32(starting_point);
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:70:9: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i curr = _mm_lddqu_si128 (( const __m128i*) input + i );
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:70:50: error: unknown type name '__m128i'
__m128i curr = _mm_lddqu_si128 (( const __m128i*) input + i );
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:71:15: error: unknown type name '__m128i'
const __m128i _tmp1 = _mm_add_epi32(_mm_slli_si128(curr, 8), curr);
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:71:31: warning: implicit declaration of function '_mm_add_epi32' [-Wimplicit-function-declaratio]
const __m128i _tmp1 = _mm_add_epi32(_mm_slli_si128(curr, 8), curr);
^~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:71:45: warning: implicit declaration of function '_mm_slli_si128' [-Wimplicit-function-declaration]
const __m128i _tmp1 = _mm_add_epi32(_mm_slli_si128(curr, 8), curr);
^~~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:72:15: error: unknown type name '__m128i'
const __m128i _tmp2 = _mm_add_epi32(_mm_slli_si128(_tmp1, 4), _tmp1);
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:73:37: warning: implicit declaration of function '_mm_shuffle_epi32' [-Wimplicit-function-declaration]
prev = _mm_add_epi32(_tmp2, _mm_shuffle_epi32(prev, 0xff));
^~~~~~~~~~~~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:74:27: error: '__m128i' undeclared (first use in this function)
_mm_storeu_si128((__m128i*)output + i,prev);
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:74:35: error: expected expression before ')' token
_mm_storeu_si128((__m128i*)output + i,prev);
^
/root/mixer/src/FastDifferentialCoding/fastdelta.c: In function 'compute_prefix_sum_inplace':
/root/mixer/src/FastDifferentialCoding/fastdelta.c:86:5: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i prev = _mm_set1_epi32(starting_point);
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:89:9: error: unknown type name '__m128i'; did you mean '__int128'?
__m128i curr = _mm_lddqu_si128 (( const __m128i*) buffer + i );
^~~~~~~
__int128
/root/mixer/src/FastDifferentialCoding/fastdelta.c:89:50: error: unknown type name '__m128i'
__m128i curr = _mm_lddqu_si128 (( const __m128i*) buffer + i );
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:90:15: error: unknown type name '__m128i'
const __m128i _tmp1 = _mm_add_epi32(_mm_slli_si128(curr, 8), curr);
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:91:15: error: unknown type name '__m128i'
const __m128i _tmp2 = _mm_add_epi32(_mm_slli_si128(_tmp1, 4), _tmp1);
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:93:27: error: '__m128i' undeclared (first use in this function)
_mm_storeu_si128((__m128i*)buffer + i,prev);
^~~~~~~
/root/mixer/src/FastDifferentialCoding/fastdelta.c:93:35: error: expected expression before ')' token
_mm_storeu_si128((__m128i*)buffer + i,prev);
^
CMakeFiles/bgmg-static.dir/build.make:566: recipe for target 'CMakeFiles/bgmg-static.dir/FastDifferentialCoding/fastdelta.c.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/FastDifferentialCoding/fastdelta.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /root/mixer/src/plink_ld.h:24:0,
from /root/mixer/src/plink_ld.cc:19:
/root/mixer/src/plink_common.h:177:6: error: #error "64-bit builds currently require SSE2. Try producing a 32-bit build instead."
#error "64-bit builds currently require SSE2. Try producing a 32-bit build instead."
^~~~~
In file included from /root/mixer/src/plink_common.cc:19:0:
/root/mixer/src/plink_common.h:177:6: error: #error "64-bit builds currently require SSE2. Try producing a 32-bit build instead."
#error "64-bit builds currently require SSE2. Try producing a 32-bit build instead."
^~~~~
/root/mixer/src/plink_common.h:179:12: fatal error: emmintrin.h: No such file or directory
#include <emmintrin.h>
^~~~~~~~~~~~~
/root/mixer/src/plink_common.h:179:12: fatal error: emmintrin.h: No such file or directory
#include <emmintrin.h>
^~~~~~~~~~~~~
compilation terminated.
compilation terminated.
CMakeFiles/bgmg-static.dir/build.make:230: recipe for target 'CMakeFiles/bgmg-static.dir/plink_ld.cc.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/plink_ld.cc.o] Error 1
CMakeFiles/bgmg-static.dir/build.make:254: recipe for target 'CMakeFiles/bgmg-static.dir/plink_common.cc.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/plink_common.cc.o] Error 1
In file included from /root/mixer/src/plink_ld.h:24:0,
from /root/mixer/src/ld_matrix.cc:9:
/root/mixer/src/plink_common.h:177:6: error: #error "64-bit builds currently require SSE2. Try producing a 32-bit build instead."
#error "64-bit builds currently require SSE2. Try producing a 32-bit build instead."
^~~~~
/root/mixer/src/plink_common.h:179:12: fatal error: emmintrin.h: No such file or directory
#include <emmintrin.h>
^~~~~~~~~~~~~
compilation terminated.
CMakeFiles/bgmg-static.dir/build.make:158: recipe for target 'CMakeFiles/bgmg-static.dir/ld_matrix.cc.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/ld_matrix.cc.o] Error 1
In file included from /usr/local/include/boost/math/constants/constants.hpp:11:0,
from /root/mixer/src/bgmg_math.h:4,
from /root/mixer/src/bgmg_calculator_impl.h:101,
from /root/mixer/src/bgmg_calculator_legacy.cc:19:
/usr/local/include/boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math requires C++14" [-Wcpp]

warning "Boost.Math requires C++14"

  ^~~~~~~

In file included from /usr/local/include/boost/math/constants/constants.hpp:11:0,
from /root/mixer/src/bgmg_math.h:4,
from /root/mixer/src/bgmg_calculator_impl.h:101,
from /root/mixer/src/bgmg_calculator_unified.cc:19:
/usr/local/include/boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math requires C++14" [-Wcpp]

warning "Boost.Math requires C++14"

  ^~~~~~~

In file included from /usr/local/include/boost/math/constants/constants.hpp:11:0,
from /root/mixer/src/bgmg_math.h:4,
from /root/mixer/src/bgmg_calculator_impl.h:101,
from /root/mixer/src/bgmg_calculator.cc:19:
/usr/local/include/boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math requires C++14" [-Wcpp]

warning "Boost.Math requires C++14"

  ^~~~~~~

In file included from /root/mixer/src/bgmg_calculator_impl.h:103:0,
from /root/mixer/src/bgmg_calculator_unified.cc:19:
/root/mixer/src/fmath.hpp:47:12: fatal error: x86intrin.h: No such file or directory
#include <x86intrin.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from /root/mixer/src/bgmg_calculator_impl.h:103:0,
from /root/mixer/src/bgmg_calculator_legacy.cc:19:
/root/mixer/src/fmath.hpp:47:12: fatal error: x86intrin.h: No such file or directory
#include <x86intrin.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from /root/mixer/src/bgmg_calculator_impl.h:103:0,
from /root/mixer/src/bgmg_calculator.cc:19:
/root/mixer/src/fmath.hpp:47:12: fatal error: x86intrin.h: No such file or directory
#include <x86intrin.h>
^~~~~~~~~~~~~
compilation terminated.
CMakeFiles/bgmg-static.dir/build.make:86: recipe for target 'CMakeFiles/bgmg-static.dir/bgmg_calculator_unified.cc.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_calculator_unified.cc.o] Error 1
CMakeFiles/bgmg-static.dir/build.make:110: recipe for target 'CMakeFiles/bgmg-static.dir/bgmg_calculator_legacy.cc.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_calculator_legacy.cc.o] Error 1
CMakeFiles/bgmg-static.dir/build.make:62: recipe for target 'CMakeFiles/bgmg-static.dir/bgmg_calculator.cc.o' failed
make[3]: *** [CMakeFiles/bgmg-static.dir/bgmg_calculator.cc.o] Error 1
CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/bgmg-static.dir/all' failed
make[2]: *** [CMakeFiles/bgmg-static.dir/all] Error 2
CMakeFiles/Makefile2:80: recipe for target 'CMakeFiles/bgmg.dir/rule' failed
make[1]: *** [CMakeFiles/bgmg.dir/rule] Error 2
Makefile:164: recipe for target 'bgmg' failed
make: *** [bgmg] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant