Hi,

Thank you for the reply.
I attached the cmake log file.

On Wednesday, January 24, 2018 at 11:35:53 PM UTC-5, Matthias Maier wrote:
>
> Hi, 
>
> On Wed, Jan 24, 2018, at 11:17 CST, Eldar Khattatov <eld.kh...@gmail.com 
> <javascript:>> wrote: 
>
> > I forgot to mention, I tried both the development and 8.5.1versions of 
> > deal.II and the errors are the same. 
>
> The test in question tries to compile a very minimalistic 
>
>   int main () { return 0; } 
>
> with the given compiler, link interface and linker options. 
>
> Have a look at <build directory>/CMakeFiles/CMakeErrors.log the detailed 
> compiler output of what exactly fails should be at the very bottom. 
>
> I am curious what is going wrong. 
>
> Best, 
> Matthias 
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Performing C++ SOURCE FILE Test DEAL_II_HAVE_AVX failed with the following 
output:
Change Dir: /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_000f4/fast"
/usr/bin/make -f CMakeFiles/cmTC_000f4.dir/build.make 
CMakeFiles/cmTC_000f4.dir/build
make[1]: Entering directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_000f4.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_AVX   -o CMakeFiles/cmTC_000f4.dir/src.cxx.o -c 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:3:6: error: 
#error "__AVX__ flag not set, no support for AVX"
     #error "__AVX__ flag not set, no support for AVX"
      ^~~~~
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx: In function 
‘int main()’:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:35:9: 
warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
       b = _mm256_set1_pd ((volatile double)(2.25));
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/cmTC_000f4.dir/build.make:65: recipe for target 
'CMakeFiles/cmTC_000f4.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_000f4.dir/src.cxx.o] Error 1
make[1]: Leaving directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_000f4/fast' failed
make: *** [cmTC_000f4/fast] Error 2

Return value: 1
Source file was:

    #ifndef __AVX__
    #error "__AVX__ flag not set, no support for AVX"
    #endif
    #include <immintrin.h>
    class VectorizedArray
    {
    public:
      VectorizedArray &
      operator += (const VectorizedArray &vec)
      {
        data = _mm256_add_pd (data, vec.data);
        return *this;
      }
      __m256d data;
    };
    inline
    VectorizedArray
    operator + (const VectorizedArray &u, const VectorizedArray &v)
    {
      VectorizedArray tmp = u;
      return tmp+=v;
    }
    int main()
    {
      __m256d a, b;
      const unsigned int vector_bytes = sizeof(__m256d);
      const int n_vectors = vector_bytes/sizeof(double);
      __m256d * data =
        reinterpret_cast<__m256d*>(_mm_malloc (2*vector_bytes, vector_bytes));
      double * ptr = reinterpret_cast<double*>(&a);
      ptr[0] = (volatile double)(1.0);
      for (int i=1; i<n_vectors; ++i)
        ptr[i] = 0.0;
      b = _mm256_set1_pd ((volatile double)(2.25));
      data[0] = _mm256_add_pd (a, b);
      data[1] = _mm256_mul_pd (b, data[0]);
      ptr = reinterpret_cast<double*>(&data[1]);
      unsigned int return_value = 0;
      if (ptr[0] != 7.3125)
        return_value = 1;
      for (int i=1; i<n_vectors; ++i)
        if (ptr[i] != 5.0625)
          return_value = 1;
      VectorizedArray c, d, e;
      c.data = b;
      d.data = b;
      e = c + d;
      ptr = reinterpret_cast<double*>(&e.data);
      for (int i=0; i<n_vectors; ++i)
        if (ptr[i] != 4.5)
          return_value = 1;
      _mm_free (data);
      return return_value;
    }
    
Performing C++ SOURCE FILE Test DEAL_II_HAVE_AVX512 failed with the following 
output:
Change Dir: /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_09caa/fast"
/usr/bin/make -f CMakeFiles/cmTC_09caa.dir/build.make 
CMakeFiles/cmTC_09caa.dir/build
make[1]: Entering directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_09caa.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_AVX512   -o CMakeFiles/cmTC_09caa.dir/src.cxx.o 
-c /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:3:6: error: 
#error "__AVX512F__ flag not set, no support for AVX512"
     #error "__AVX512F__ flag not set, no support for AVX512"
      ^~~~~
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx: In function 
‘int main()’:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:18:9: 
warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
       b = _mm512_set1_pd(x);
       ~~^~~~~~~~~~~~~~~~~~~
CMakeFiles/cmTC_09caa.dir/build.make:65: recipe for target 
'CMakeFiles/cmTC_09caa.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_09caa.dir/src.cxx.o] Error 1
make[1]: Leaving directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_09caa/fast' failed
make: *** [cmTC_09caa/fast] Error 2

Return value: 1
Source file was:

    #ifndef __AVX512F__
    #error "__AVX512F__ flag not set, no support for AVX512"
    #endif
    #include <immintrin.h>
    int main()
    {
      __m512d a, b;
      const unsigned int vector_bytes = sizeof(__m512d);
      const int n_vectors = vector_bytes/sizeof(double);
      __m512d * data =
        reinterpret_cast<__m512d*>(_mm_malloc (2*vector_bytes, vector_bytes));
      double * ptr = reinterpret_cast<double*>(&a);
      ptr[0] = (volatile double)(1.0);
      for (int i=1; i<n_vectors; ++i)
        ptr[i] = 0.0;
      const volatile double x = 2.25;
      b = _mm512_set1_pd(x);
      data[0] = _mm512_add_pd (a, b);
      data[1] = _mm512_mul_pd (b, data[0]);
      ptr = reinterpret_cast<double*>(&data[1]);
      unsigned int return_value = 0;
      if (ptr[0] != 7.3125)
        return_value = 1;
      for (int i=1; i<n_vectors; ++i)
        if (ptr[i] != 5.0625)
          return_value = 1;
      _mm_free (data);
      return return_value;
    }
    
Performing C++ SOURCE FILE Test DEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS failed 
with the following output:
Change Dir: /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8997b/fast"
/usr/bin/make -f CMakeFiles/cmTC_8997b.dir/build.make 
CMakeFiles/cmTC_8997b.dir/build
make[1]: Entering directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8997b.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS -std=c++17   -o 
CMakeFiles/cmTC_8997b.dir/src.cxx.o -c 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx: In function 
‘int main()’:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:6:14: error: 
no match for ‘operator*’ (operand types are ‘double’ and ‘std::complex<float>’)
     double() * std::complex<float>();
     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:404:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)
     operator*(const _Tp& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:6:36: note:   
deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’)
     double() * std::complex<float>();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:395:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)
     operator*(const complex<_Tp>& __x, const _Tp& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:6:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘double’
     double() * std::complex<float>();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:386:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const 
std::complex<_Tp>&)
     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:6:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘double’
     double() * std::complex<float>();
                                    ^
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:7:27: error: 
no match for ‘operator*’ (operand types are ‘std::complex<float>’ and ‘double’)
     std::complex<float>() * double();
          ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:404:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)
     operator*(const _Tp& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:7:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘double’
     std::complex<float>() * double();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:395:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)
     operator*(const complex<_Tp>& __x, const _Tp& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:7:36: note:   
deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘double’)
     std::complex<float>() * double();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:386:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const 
std::complex<_Tp>&)
     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:7:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘double’
     std::complex<float>() * double();
                                    ^
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:8:13: error: 
no match for ‘operator*’ (operand types are ‘float’ and ‘std::complex<double>’)
     float() * std::complex<double>();
     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:404:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)
     operator*(const _Tp& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:8:36: note:   
deduced conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’)
     float() * std::complex<double>();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:395:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)
     operator*(const complex<_Tp>& __x, const _Tp& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:8:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘float’
     float() * std::complex<double>();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:386:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const 
std::complex<_Tp>&)
     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:8:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘float’
     float() * std::complex<double>();
                                    ^
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:9:28: error: 
no match for ‘operator*’ (operand types are ‘std::complex<double>’ and ‘float’)
     std::complex<double>() * float();
          ~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:404:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)
     operator*(const _Tp& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:9:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘float’
     std::complex<double>() * float();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:395:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)
     operator*(const complex<_Tp>& __x, const _Tp& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:9:36: note:   
deduced conflicting types for parameter ‘const _Tp’ (‘double’ and ‘float’)
     std::complex<double>() * float();
                                    ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:386:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const 
std::complex<_Tp>&)
     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:9:36: note:   
mismatched types ‘const std::complex<_Tp>’ and ‘float’
     std::complex<double>() * float();
                                    ^
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:10:28: error: 
no match for ‘operator*’ (operand types are ‘std::complex<double>’ and 
‘std::complex<float>’)
     std::complex<double>() * std::complex<float>();
          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:404:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)
     operator*(const _Tp& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:10:50: note:  
 deduced conflicting types for parameter ‘_Tp’ (‘std::complex<double>’ and 
‘float’)
     std::complex<double>() * std::complex<float>();
                                                  ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:395:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)
     operator*(const complex<_Tp>& __x, const _Tp& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:10:50: note:  
 deduced conflicting types for parameter ‘const _Tp’ (‘double’ and 
‘std::complex<float>’)
     std::complex<double>() * std::complex<float>();
                                                  ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:386:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const 
std::complex<_Tp>&)
     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:10:50: note:  
 deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’)
     std::complex<double>() * std::complex<float>();
                                                  ^
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:11:27: error: 
no match for ‘operator*’ (operand types are ‘std::complex<float>’ and 
‘std::complex<double>’)
     std::complex<float>() * std::complex<double>();
          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:404:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)
     operator*(const _Tp& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:11:50: note:  
 deduced conflicting types for parameter ‘_Tp’ (‘std::complex<float>’ and 
‘double’)
     std::complex<float>() * std::complex<double>();
                                                  ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:395:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)
     operator*(const complex<_Tp>& __x, const _Tp& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:11:50: note:  
 deduced conflicting types for parameter ‘const _Tp’ (‘float’ and 
‘std::complex<double>’)
     std::complex<float>() * std::complex<double>();
                                                  ^
In file included from 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:2:0:
/usr/include/c++/7/complex:386:5: note: candidate: template<class _Tp> 
std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const 
std::complex<_Tp>&)
     operator*(const complex<_Tp>& __x, const complex<_Tp>& __y)
     ^~~~~~~~
/usr/include/c++/7/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx:11:50: note:  
 deduced conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’)
     std::complex<float>() * std::complex<double>();
                                                  ^
CMakeFiles/cmTC_8997b.dir/build.make:65: recipe for target 
'CMakeFiles/cmTC_8997b.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_8997b.dir/src.cxx.o] Error 1
make[1]: Leaving directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8997b/fast' failed
make: *** [cmTC_8997b/fast] Error 2

Source file was:

  #include <complex>

  int main()
  {
    double() * std::complex<float>();
    std::complex<float>() * double();
    float() * std::complex<double>();
    std::complex<double>() * float();
    std::complex<double>() * std::complex<float>();
    std::complex<float>() * std::complex<double>();

    return 0;
  }
  
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a5bd8/fast"
/usr/bin/make -f CMakeFiles/cmTC_a5bd8.dir/build.make 
CMakeFiles/cmTC_a5bd8.dir/build
make[1]: Entering directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a5bd8.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_a5bd8.dir/CheckSymbolExists.c.o   -c 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_a5bd8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a5bd8.dir/link.txt 
--verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_a5bd8.dir/CheckSymbolExists.c.o  -o 
cmTC_a5bd8 
CMakeFiles/cmTC_a5bd8.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_a5bd8.dir/build.make:97: recipe for target 'cmTC_a5bd8' failed
make[1]: *** [cmTC_a5bd8] Error 1
make[1]: Leaving directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a5bd8/fast' failed
make: *** [cmTC_a5bd8/fast] Error 2

File 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with 
the following output:
Change Dir: /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_2795f/fast"
/usr/bin/make -f CMakeFiles/cmTC_2795f.dir/build.make 
CMakeFiles/cmTC_2795f.dir/build
make[1]: Entering directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2795f.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o 
CMakeFiles/cmTC_2795f.dir/CheckFunctionExists.c.o   -c 
/usr/share/cmake-3.9/Modules/CheckFunctionExists.c
Linking C executable cmTC_2795f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2795f.dir/link.txt 
--verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic 
CMakeFiles/cmTC_2795f.dir/CheckFunctionExists.c.o  -o cmTC_2795f -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_2795f.dir/build.make:97: recipe for target 'cmTC_2795f' failed
make[1]: *** [cmTC_2795f] Error 1
make[1]: Leaving directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2795f/fast' failed
make: *** [cmTC_2795f/fast] Error 2


Performing C++ SOURCE FILE Test DEAL_II_HAVE_FLAG_Wnested_anon_types failed 
with the following output:
Change Dir: /home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_beeb2/fast"
/usr/bin/make -f CMakeFiles/cmTC_beeb2.dir/build.make 
CMakeFiles/cmTC_beeb2.dir/build
make[1]: Entering directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_beeb2.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_FLAG_Wnested_anon_types   -Wnested-anon-types -o 
CMakeFiles/cmTC_beeb2.dir/src.cxx.o -c 
/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-Wnested-anon-types'; did you 
mean '-Wnested-externs'?
CMakeFiles/cmTC_beeb2.dir/build.make:65: recipe for target 
'CMakeFiles/cmTC_beeb2.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_beeb2.dir/src.cxx.o] Error 1
make[1]: Leaving directory 
'/home/username/Downloads/dealii/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_beeb2/fast' failed
make: *** [cmTC_beeb2/fast] Error 2

Source file was:
int main() { return 0; }

Reply via email to