Dear experts,
I have the following error while compiling root 5.34.36 with icc 14 on Scientific Linux 6.7:
[quote]icc -DVC_COMPILE_LIB -O -fPIC -wd1476 -Iinclude -wd1572 -wd279 -pthread -diag-disable 913 -DVC_IMPL=SSE+XOP+FMA4 -mxop -mfma4 -c -o math/vc/src/trigonometric__DVC_IMPL_SSE+XOP+FMA4__mxop__mfma4.cpp.o /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp
icc: command line warning #10159: invalid argument for option '-m’
icc: command line warning #10159: invalid argument for option '-m’
In file included from include/Vc/sse/vector.h(25),
from include/Vc/vector.h(33),
from include/Vc/Vc(22),
from /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp(20):
include/Vc/sse/vectorhelper.h(211): error: identifier “_mm_macc_pd” is undefined
v1 = _mm_macc_pd(v1, v2, v3);
^
In file included from include/Vc/sse/vector.h(25),
from include/Vc/vector.h(33),
from include/Vc/Vc(22),
from /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp(20):
include/Vc/sse/vectorhelper.h(300): error: identifier “_mm_macc_ps” is undefined
v1 = _mm_macc_ps(v1, v2, v3);
^
In file included from include/Vc/sse/vector.h(548),
from include/Vc/vector.h(33),
from include/Vc/Vc(22),
from /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp(20):
include/Vc/sse/vector.tcc(574): error: identifier “_mm_sha_epi32” is undefined
static Vc_INTRINSIC Vc_CONST __m128i shiftLeft (const int_v &value, const int_v &count) { return _mm_sha_epi32(value.data(), count.data()); }
^
In file included from include/Vc/sse/vector.h(548),
from include/Vc/vector.h(33),
from include/Vc/Vc(22),
from /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp(20):
include/Vc/sse/vector.tcc(575): error: identifier “_mm_shl_epi32” is undefined
static Vc_INTRINSIC Vc_CONST __m128i shiftLeft (const uint_v &value, const uint_v &count) { return _mm_shl_epi32(value.data(), count.data()); }
^
In file included from include/Vc/sse/vector.h(548),
from include/Vc/vector.h(33),
from include/Vc/Vc(22),
from /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp(20):
include/Vc/sse/vector.tcc(576): error: identifier “_mm_sha_epi16” is undefined
static Vc_INTRINSIC Vc_CONST __m128i shiftLeft (const short_v &value, const short_v &count) { return _mm_sha_epi16(value.data(), count.data()); }
^
In file included from include/Vc/sse/vector.h(548),
from include/Vc/vector.h(33),
from include/Vc/Vc(22),
from /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp(20):
include/Vc/sse/vector.tcc(577): error: identifier “_mm_shl_epi16” is undefined
static Vc_INTRINSIC Vc_CONST __m128i shiftLeft (const ushort_v &value, const ushort_v &count) { return _mm_shl_epi16(value.data(), count.data()); }
^
compilation aborted for /home/software/root/root-v5-34-icc/math/vc/src/trigonometric.cpp (code 2)
Create static library lib/libVc.a
ar: creating lib/libVc.a
ar: math/vc/src/trigonometric__DVC_IMPL_SSE+XOP+FMA4__mxop__mfma4.cpp.o: No such file or directory
make: *** [lib/libVc.a] Error 1
[/quote]
This is the configure command: ./configure linuxx8664icc --all
Best,
Claudio