I removed those files, and rebuild using -xhost, but I still get the same errors. AVX should be available, after I am compiling on a Xeon E5-2695 v4, which definitely has AVX (and the intel compiler should have that, too). Test programs using those functions work fine.
Am Freitag, 1. Februar 2019 09:46:44 UTC+1 schrieb Martin Kronbichler: > > Dear Maxi, > > I have not yet look at all details, but what strikes my attention is that > you added `-march=native` to your C++ compile flags. That is a gcc thing, > so I don't know what Intel makes out of that. Can you try what happens if > you replace it by `-xhost` which is (mostly) the Intel equivalent? > > Another thing that I still do not understand is why this passed the > configuration step as an AVX compile (DEAL_II_VECTORIZATION_LEVEL = 2), > since it only seems that SSE2 is available. It might be that there is > something left from an old installation and you need to delete > `CMakeCache.txt` and `CMakeFiles/`. > > Best, > Martin > On 01.02.19 09:29, 'Maxi Miller' via deal.II User Group wrote: > > I tried to compile deal.II using ICC 18, but during compilation I got > several errors, such as > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1489): error: > no operator "+=" matches these operands > operand types are: __m256d += const __m256d > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1504): error: > no operator "-=" matches these operands > operand types are: __m256d -= const __m256d > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1518): error: > no operator "*=" matches these operands > operand types are: __m256d *= const __m256d > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1533): error: > no operator "/=" matches these operands > operand types are: __m256d /= const __m256d > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1549): error: > identifier "_mm256_loadu_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1562): error: > identifier "_mm256_storeu_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1574): error: > identifier "_mm256_stream_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1598): error: > identifier "_mm_loadu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1600): error: > identifier "_mm256_i32gather_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1644): error: > identifier "_mm256_sqrt_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1659): error: > identifier "_mm256_set1_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1661): error: > identifier "_mm256_andnot_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1674): error: > identifier "_mm256_max_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1687): error: > identifier "_mm256_min_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1728): error: > identifier "_mm256_loadu_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1732): error: > identifier "_mm256_permute2f128_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1736): error: > identifier "_mm256_unpacklo_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1737): error: > identifier "_mm256_unpackhi_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1770): error: > identifier "_mm256_permute2f128_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1774): error: > identifier "_mm256_unpacklo_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1775): error: > identifier "_mm256_unpackhi_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1784): error: > identifier "_mm256_loadu_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1784): error: > identifier "_mm256_add_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1785): error: > identifier "_mm256_storeu_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1795): error: > identifier "_mm256_storeu_pd" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1832): error: > identifier "_mm256_set1_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1869): error: > no operator "+=" matches these operands > operand types are: __m256 += const __m256 > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1884): error: > no operator "-=" matches these operands > operand types are: __m256 -= const __m256 > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1898): error: > no operator "*=" matches these operands > operand types are: __m256 *= const __m256 > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1913): error: > no operator "/=" matches these operands > operand types are: __m256 /= const __m256 > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1929): error: > identifier "_mm256_loadu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1942): error: > identifier "_mm256_storeu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1954): error: > identifier "_mm256_stream_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1978): error: > identifier "_mm256_loadu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(1980): error: > identifier "_mm256_i32gather_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2024): error: > identifier "_mm256_sqrt_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2039): error: > identifier "_mm256_set1_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2041): error: > identifier "_mm256_andnot_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2054): error: > identifier "_mm256_max_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2067): error: > identifier "_mm256_min_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2103): error: > identifier "_mm_loadu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2113): error: > identifier "_mm256_set1_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2114): error: > identifier "_mm256_insertf128_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2122): error: > identifier "_mm256_shuffle_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2156): error: > identifier "_mm256_shuffle_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2164): error: > identifier "_mm256_extractf128_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2178): error: > identifier "_mm_loadu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2178): error: > identifier "_mm_add_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2179): error: > identifier "_mm_storeu_ps" is undefined > > ~/Downloads_ICC/dealii/include/deal.II/base/vectorization.h(2197): error: > identifier "_mm_storeu_ps" is undefined > > > > Compilation with GCC works fine. Why did I get those errors, and how can I > fix them? I attached the detailed.log-file for debugging > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
