XeonPhi brunch with ICC
Matthias Kretz
[please enable javascript to see the address]
Fri Sep 20 11:34:23 CEST 2013
Hi Maksym,
that's the problem of tracking a development branch. I'm researching new API
and am refactoring many implementation details. Things break... I suggest you
publish your own branch (feel free to do that on code.compeng or gitorious)
that you can use to have the same checkout on all your systems, while still
being able to merge good revisions from my branch.
I'll fix the issues. But I can't promise that it'll stay stable all the time.
Cheers,
Matthias
On Friday 20 September 2013 07:53:36 Zyzak, Maksym wrote:
> Hi, Matthias,
>
> I tried to install the current XeonPhi branch of Vc with icc (version
> 13.1.3) and got errors (please find a log below). With gcc 4.7 it compiles
> without errors. The master branch I also was not able to compile with icc.
> Can you please fix the issue? The Vc-0.99.71 doesn't work correctly for us.
>
> Thank you and with best regards,
> Maksym
>
> [ 0%] [ 0%] [ 0%] [ 1%] [ 1%] [ 3%] Building CXX object
> trigonometric_AVX2.cpp.o Building CXX object trigonometric_SSE2.cpp.o
> Building CXX object trigonometric_SSE3.cpp.o
> Building CXX object trigonometric_SSSE3.cpp.o
> Building CXX object trigonometric_SSE4_1.cpp.o
> Building CXX object trigonometric_AVX.cpp.o
> Scanning dependencies of target Vc_MIC
> Scanning dependencies of target download-testdata
> [ 3%] [ 3%] [ 4%] [ 6%] [ 6%] [ 6%] [ 6%] [ 8%] [ 8%] [ 9%] [ 9%]
> [ 9%] [ 11%] [ 11%] Downloading Test Data: reference-sincos-sp.dat
> Downloading Test Data: reference-sincos-dp.dat
> Downloading Test Data: reference-asin-sp.dat
> Downloading Test Data: reference-acos-sp.dat
> Downloading Test Data: reference-asin-dp.dat
> Downloading Test Data: reference-acos-dp.dat
> Downloading Test Data: reference-atan-sp.dat
> Downloading Test Data: reference-ln-sp.dat
> [ 12%] [ 12%] Downloading Test Data: reference-atan-dp.dat
> Downloading Test Data: reference-log2-dp.dat
> [ 14%] [ 14%] Downloading Test Data: reference-ln-dp.dat
> Downloading Test Data: reference-log2-sp.dat
> Downloading Test Data: reference-log10-sp.dat
> Downloading Test Data: reference-log10-dp.dat
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/CMakeFiles/Vc_MIC.dir/support.cpp.mic.o Compiling
> (MIC) /home/mzyzak/Vc/vc/build/CMakeFiles/Vc_MIC.dir/cpuid.cpp.mic.o
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/CMakeFiles/Vc_MIC.dir/mic_sorthelper.cpp.mic.o
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/CMakeFiles/Vc_MIC.dir/mic_const.cpp.mic.o
> /home/mzyzak/Vc/vc/avx/mask.tcc(101): error: more than one instance of
> overloaded function "Vc::v0::AVX2::internal::movemask" matches the argument
> list: function
> "Vc::v0::AVX2::internal::movemask(Vc::v0::AvxIntrinsics::m128i)" function
> "Vc::v0::AVX2::internal::movemask(Vc::v0::AvxIntrinsics::m128d)" function
> "Vc::v0::AVX2::internal::movemask(Vc::v0::AvxIntrinsics::m128)" argument
> types are: (__m128i)
> return movemask(_mm_packs_epi16(k, _mm_setzero_si128()));
> ^
>
> /home/mzyzak/Vc/vc/avx/mask.tcc(101): error: more than one instance of
> overloaded function "Vc::v0::AVX::internal::movemask" matches the argument
> list: function
> "Vc::v0::AVX::internal::movemask(Vc::v0::AvxIntrinsics::m128i)" function
> "Vc::v0::AVX::internal::movemask(Vc::v0::AvxIntrinsics::m128d)" function
> "Vc::v0::AVX::internal::movemask(Vc::v0::AvxIntrinsics::m128)" argument
> types are: (__m128i)
> return movemask(_mm_packs_epi16(k, _mm_setzero_si128()));
> ^
>
> [ 14%] Linking (MIC) libVc_MIC.a
> [ 16%] Built target Vc_MIC
> Scanning dependencies of target casts_mic
> Scanning dependencies of target arithmetics_mic
> Scanning dependencies of target load_mic
> Scanning dependencies of target mask_mic
> Scanning dependencies of target expandandmerge_mic
> Scanning dependencies of target implicit_type_conversion_mic
> Scanning dependencies of target scalaraccess_mic
> Scanning dependencies of target memory_mic
> Scanning dependencies of target gather_mic
> Scanning dependencies of target store_mic
> Scanning dependencies of target math_mic
> Scanning dependencies of target swizzles_mic
> Scanning dependencies of target type_traits_mic
> Scanning dependencies of target utils_mic
> Scanning dependencies of target scatter_mic
> [ 17%] [ 19%] [ 20%] [ 22%] [ 22%] Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/arithmetics_mic.dir/arithmetics.c
> pp.mic.o Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/expandandmerge_mic.dir/expandandm
> erge.cpp.mic.o Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/memory_mic.dir/memory.cpp.mic.o [
> 24%] [ 24%] Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/load_mic.dir/load.cpp.mic.o [
> 25%] [ 25%] [ 25%] [ 27%] [ 27%] Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/math_mic.dir/math.cpp.mic.o [
> 27%] [ 27%] Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/type_traits_mic.dir/type_traits.c
> pp.mic.o Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/mask_mic.dir/mask.cpp.mic.o [
> 27%] Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/store_mic.dir/store.cpp.mic.o
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/swizzles_mic.dir/swizzles.cpp.mic
> .o Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/implicit_type_conversion_mic.dir/
> implicit_type_conversion.cpp.mic.o Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/casts_mic.dir/casts.cpp.mic.o
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/scalaraccess_mic.dir/scalaraccess
> .cpp.mic.o Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/utils_mic.dir/utils.cpp.mic.o
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/gather_mic.dir/gather.cpp.mic.o
> Compiling (MIC)
> /home/mzyzak/Vc/vc/build/tests/CMakeFiles/scatter_mic.dir/scatter.cpp.mic.o
> /home/mzyzak/Vc/vc/avx/vector.tcc(382): error: more than one instance of
> overloaded function "Vc::v0::AVX2::lo128" matches the argument list:
> function "Vc::v0::AVX2::lo128(Vc::v0::AvxIntrinsics::m256)" function
> "Vc::v0::AVX2::lo128(Vc::v0::AvxIntrinsics::m256d)" function
> "Vc::v0::AVX2::lo128(Vc::v0::AvxIntrinsics::m256i)" argument types are:
> (const __m256i)
> const m256d loa = _mm256_add_pd(_mm256_cvtepi32_pd(lo128(aa)),
> _mm256_set1_pd(2147483648.)); ^
>
> /home/mzyzak/Vc/vc/avx/vector.tcc(383): error: more than one instance of
> overloaded function "Vc::v0::AVX2::hi128" matches the argument list:
> function "Vc::v0::AVX2::hi128(Vc::v0::AvxIntrinsics::m256)" function
> "Vc::v0::AVX2::hi128(Vc::v0::AvxIntrinsics::m256d)" function
> "Vc::v0::AVX2::hi128(Vc::v0::AvxIntrinsics::m256i)" argument types are:
> (const __m256i)
> const m256d hia = _mm256_add_pd(_mm256_cvtepi32_pd(hi128(aa)),
> _mm256_set1_pd(2147483648.)); ^
>
> /home/mzyzak/Vc/vc/avx/vector.tcc(384): error: more than one instance of
> overloaded function "Vc::v0::AVX2::lo128" matches the argument list:
> function "Vc::v0::AVX2::lo128(Vc::v0::AvxIntrinsics::m256)" function
> "Vc::v0::AVX2::lo128(Vc::v0::AvxIntrinsics::m256d)" function
> "Vc::v0::AVX2::lo128(Vc::v0::AvxIntrinsics::m256i)" argument types are:
> (const __m256i)
> const m256d lob = _mm256_add_pd(_mm256_cvtepi32_pd(lo128(bb)),
> _mm256_set1_pd(2147483648.)); ^
>
> /home/mzyzak/Vc/vc/avx/vector.tcc(385): error: more than one instance of
> overloaded function "Vc::v0::AVX2::hi128" matches the argument list:
> function "Vc::v0::AVX2::hi128(Vc::v0::AvxIntrinsics::m256)" function
> "Vc::v0::AVX2::hi128(Vc::v0::AvxIntrinsics::m256d)" function
> "Vc::v0::AVX2::hi128(Vc::v0::AvxIntrinsics::m256i)" argument types are:
> (const __m256i)
> const m256d hib = _mm256_add_pd(_mm256_cvtepi32_pd(hi128(bb)),
> _mm256_set1_pd(2147483648.)); ^
>
> compilation aborted for /home/mzyzak/Vc/vc/src/trigonometric.cpp (code 2)
> make[2]: *** [trigonometric_AVX2.cpp.o] Error 2
> make[2]: *** Waiting for unfinished jobs....
> compilation aborted for /home/mzyzak/Vc/vc/src/trigonometric.cpp (code 2)
> make[2]: *** [trigonometric_AVX.cpp.o] Error 2
> /home/mzyzak/Vc/vc/tests/mask.cpp(431): error: class
> "Vc::v0::MIC::Mask<float>" has no member "store" m.store(mem);
> ^
> detected during instantiation of "void boolConversion<V>() [with
> V=Vc::v0::Public::float_v]" at line 460
>
> /home/mzyzak/Vc/vc/tests/mask.cpp(431): error: class
> "Vc::v0::MIC::Mask<Vc::v0::Public::int16_t={signed short}>" has no member
> "store" m.store(mem);
> ^
> detected during instantiation of "void boolConversion<V>() [with
> V=Vc::v0::Public::short_v]" at line 460
>
> /home/mzyzak/Vc/vc/tests/mask.cpp(431): error: class
> "Vc::v0::MIC::Mask<Vc::v0::Public::uint16_t={unsigned short}>" has no
> member "store" m.store(mem);
> ^
> detected during instantiation of "void boolConversion<V>() [with
> V=Vc::v0::Public::ushort_v]" at line 460
>
> /home/mzyzak/Vc/vc/tests/mask.cpp(431): error: class
> "Vc::v0::MIC::Mask<Vc::v0::Public::int32_t={signed int}>" has no member
> "store" m.store(mem);
> ^
> detected during instantiation of "void boolConversion<V>() [with
> V=Vc::v0::Public::int_v]" at line 460
>
> /home/mzyzak/Vc/vc/tests/mask.cpp(431): error: class
> "Vc::v0::MIC::Mask<double>" has no member "store" m.store(mem);
> ^
> detected during instantiation of "void boolConversion<V>() [with
> V=Vc::v0::Public::double_v]" at line 460
>
> /home/mzyzak/Vc/vc/tests/mask.cpp(431): error: class
> "Vc::v0::MIC::Mask<Vc::v0::Public::uint32_t={unsigned int}>" has no member
> "store" m.store(mem);
> ^
> detected during instantiation of "void boolConversion<V>() [with
> V=Vc::v0::Public::uint_v]" at line 460
>
> compilation aborted for /home/mzyzak/Vc/vc/tests/mask.cpp (code 2)
> make[2]: *** [tests/CMakeFiles/mask_mic.dir/mask.cpp.mic.o] Error 2
> make[1]: *** [tests/CMakeFiles/mask_mic.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 27%] Built target download-testdata
> make[1]: *** [CMakeFiles/Vc.dir/all] Error 2
> [ 27%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/type_traits_mic
> [ 27%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/expandandmerge_mic
> [ 27%] Built target type_traits_mic
> [ 27%] Built target expandandmerge_mic
> [ 29%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/casts_mic
> [ 29%] Built target casts_mic
> [ 30%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/scatter_mic
> [ 30%] Built target scatter_mic
> [ 30%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/swizzles_mic
> [ 32%] Built target swizzles_mic
> [ 32%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/store_mic
> [ 33%] Built target store_mic
> [ 33%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/gather_mic
> [ 35%] Built target gather_mic
> [ 35%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/load_mic
> [ 35%] Built target load_mic
> [ 37%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/utils_mic
> [ 38%] Built target utils_mic
> [ 38%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/scalaraccess_mic
> [ 38%] Built target scalaraccess_mic
> [ 38%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/arithmetics_mic
> [ 38%] Built target arithmetics_mic
> [ 40%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/math_mic
> [ 41%] Built target math_mic
> [ 41%] Linking (MIC)
> /home/mzyzak/Vc/vc/build/tests/implicit_type_conversion_mic [ 41%] Built
> target implicit_type_conversion_mic
> [ 41%] Linking (MIC) /home/mzyzak/Vc/vc/build/tests/memory_mic
> [ 41%] Built target memory_mic
> make: *** [all] Error 2
>
> _______________________________________________
> Vc mailing list
>[please enable javascript to see the address]
> https://compeng.uni-frankfurt.de/mailman/listinfo/vc
--
Dipl.-Phys. Matthias Kretz
Web: http://compeng.uni-frankfurt.de/?mkretz
SIMD easy and portable: http://compeng.uni-frankfurt.de/?vc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://compeng.uni-frankfurt.de/pipermail/vc/attachments/20130920/c5d3f135/attachment-0001.pgp>
More information about the Vc
mailing list