On Tuesday, September 17, 2019 at 3:13:54 PM UTC-7, GaryR wrote:
>
> I keep getting the following error when running cmake-gui.
>
>
> CMake Error at /home/gary/Deal.II/share/deal.II/macros/
> macro_deal_ii_setup_target.cmake:64 (INCLUDE):
>   INCLUDE could not find load file:
>
>
>     /home/gary/Deal.II/lib/cmake/deal.II/deal.IITargets.cmake
> Call Stack (most recent call first):
>   /home/gary/Deal.II/share/deal.II/macros/macro_deal_ii_invoke_autopilot.
> cmake:55 (DEAL_II_SETUP_TARGET)
>   CMakeLists.txt:39 (DEAL_II_INVOKE_AUTOPILOT)
>
>
> I've tried mucking my way through the CMakeLists.txt. and the 
> setup_target_.cmake files. I can find the place where the error occurs 
>  but 
> am not familiar enough with the coding to make sense of the problem. 
>
> I am running Debian Buster with a KDE Desktop.
> AMD 4 core processor with 16GB of ram.
> Using Deal.II-9.1.1
> Using Cmake-GUI-3.13.2
> Using Eclipse 2019.6 (4.12.0)
>
> I have Cmake-GUI set up to produce an Eclipse compatible build.
>
> Any help will be sincerely appreciated.
>
> GaryR
>


Thanks for the reply. I'm not sure that this is the correct way to fashion 
a response. I fnound the forum format a bit confusing.

For your second question: I am installing Deal.II from dealii-9.1.1.tar.gz. 
I created a Deal.II directory in my home directory and unzipped the tar 
file there. I completely stripped out a previous installation because I 
thought I had misinstalled it. 

I've used the GUI successfully in the past and for the occasional cmake 
user it is great. I suspect that someone that uses cmake a lot, it might be 
cumbersome. For use with the tutorials I created a bash file that includes 
the

For you first question: The use of "cmake Eclipse CDT3 - Unix Makefiles 
."on the command line throws an error, but different from the one thrown by 
cmake-GUI.  From the CMakeError.log, I found "#error "__AVX__ flag not set, 
no support for AVX" error. Now my understanding that AVX is associated with 
the Intel Math Library but not needed for an AMD installation. Not sure why 
this is happening.

I have attached the error log. Hope it helps.

GaryR

On Tuesday, September 17, 2019 at 3:13:54 PM UTC-7, GaryR wrote:
>
> I keep getting the following error when running cmake-gui.
>
>
> CMake Error at /home/gary/Deal.II/share/deal.II/macros/
> macro_deal_ii_setup_target.cmake:64 (INCLUDE):
>   INCLUDE could not find load file:
>
>
>     /home/gary/Deal.II/lib/cmake/deal.II/deal.IITargets.cmake
> Call Stack (most recent call first):
>   /home/gary/Deal.II/share/deal.II/macros/macro_deal_ii_invoke_autopilot.
> cmake:55 (DEAL_II_SETUP_TARGET)
>   CMakeLists.txt:39 (DEAL_II_INVOKE_AUTOPILOT)
>
>
> I've tried mucking my way through the CMakeLists.txt. and the 
> setup_target_.cmake files. I can find the place where the error occurs 
>  but 
> am not familiar enough with the coding to make sense of the problem. 
>
> I am running Debian Buster with a KDE Desktop.
> AMD 4 core processor with 16GB of ram.
> Using Deal.II-9.1.1
> Using Cmake-GUI-3.13.2
> Using Eclipse 2019.6 (4.12.0)
>
> I have Cmake-GUI set up to produce an Eclipse compatible build.
>
> Any help will be sincerely appreciated.
>
> GaryR
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/27cdd3dc-8e55-406c-bb90-6c8e19ce5c0e%40googlegroups.com.
Performing C++ SOURCE FILE Test DEAL_II_HAVE_AVX failed with the following 
output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a176d/fast"
/usr/bin/make -f CMakeFiles/cmTC_a176d.dir/build.make 
CMakeFiles/cmTC_a176d.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a176d.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_AVX   -o CMakeFiles/cmTC_a176d.dir/src.cxx.o -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:35:9: warning: AVX vector return 
without AVX enabled changes the ABI [-Wpsabi]
       b = _mm256_set1_pd (static_cast<volatile double>(2.25));
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [CMakeFiles/cmTC_a176d.dir/build.make:66: 
CMakeFiles/cmTC_a176d.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_a176d/fast] Error 2

Return value: 1
Source file was:

    #ifndef __AVX__
    #error "__AVX__ flag not set, no support for AVX"
    #endif
    #include <x86intrin.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] = static_cast<volatile double>(1.0);
      for (int i=1; i<n_vectors; ++i)
        ptr[i] = 0.0;
      b = _mm256_set1_pd (static_cast<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]);
      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/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0d7f9/fast"
/usr/bin/make -f CMakeFiles/cmTC_0d7f9.dir/build.make 
CMakeFiles/cmTC_0d7f9.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0d7f9.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_AVX512   -o CMakeFiles/cmTC_0d7f9.dir/src.cxx.o 
-c /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:18:9: warning: AVX512F vector 
return without AVX512F enabled changes the ABI [-Wpsabi]
       b = _mm512_set1_pd(x);
       ~~^~~~~~~~~~~~~~~~~~~
make[1]: *** [CMakeFiles/cmTC_0d7f9.dir/build.make:66: 
CMakeFiles/cmTC_0d7f9.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_0d7f9/fast] Error 2

Return value: 1
Source file was:

    #ifndef __AVX512F__
    #error "__AVX512F__ flag not set, no support for AVX512"
    #endif
    #include <x86intrin.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] = static_cast<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]);
      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_ALTIVEC failed with the following 
output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_10d06/fast"
/usr/bin/make -f CMakeFiles/cmTC_10d06.dir/build.make 
CMakeFiles/cmTC_10d06.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_10d06.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_ALTIVEC   -o CMakeFiles/cmTC_10d06.dir/src.cxx.o 
-c /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:3:6: error: #error "__ALTIVEC__ 
flag not set, no support for Altivec"
     #error "__ALTIVEC__ flag not set, no support for Altivec"
      ^~~~~
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:5:14: fatal error: altivec.h: No 
such file or directory
     #include <altivec.h>
              ^~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_10d06.dir/build.make:66: 
CMakeFiles/cmTC_10d06.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_10d06/fast] Error 2

Return value: 1
Source file was:

    #ifndef __ALTIVEC__
    #error "__ALTIVEC__ flag not set, no support for Altivec"
    #endif
    #include <altivec.h>
    #undef vector
    #undef pixel
    #undef bool
    int main()
    {
    __vector double a, b, data1, data2;
    const int n_vectors = sizeof(a)/sizeof(double);
    double * ptr = reinterpret_cast<double*>(&a);
    ptr[0] = static_cast<volatile double>(1.0);
    for (int i=1; i<n_vectors; ++i)
      ptr[i] = 0.0;
    b = vec_splats (static_cast<volatile double>(2.25));
    data1 = vec_add (a, b);
    data2 = vec_mul (b, data1);
    ptr = reinterpret_cast<double*>(&data2);
    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 += 2;
    b = vec_splats (static_cast<volatile double>(-1.0));
    data1 = vec_abs(vec_mul (b, data2));
    vec_vsx_st(data1, 0, ptr);
    b = vec_vsx_ld(0, ptr);
    ptr = reinterpret_cast<double*>(&b);
    if (ptr[0] != 7.3125)
      return_value += 4;
    for (int i=1; i<n_vectors; ++i)
      if (ptr[i] != 5.0625)
        return_value += 8;
    return return_value;
    }
    
Performing C++ SOURCE FILE Test DEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS failed 
with the following output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_624a0/fast"
/usr/bin/make -f CMakeFiles/cmTC_624a0.dir/build.make 
CMakeFiles/cmTC_624a0.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_624a0.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS -std=c++17   -o 
CMakeFiles/cmTC_624a0.dir/src.cxx.o -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:6:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘double’
     double() * std::complex<float>();
                                    ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:6:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘double’
     double() * std::complex<float>();
                                    ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:6:36: note:   deduced 
conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’)
     double() * std::complex<float>();
                                    ^
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:7:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘double’
     std::complex<float>() * double();
                                    ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:7:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘double’
     std::complex<float>() * double();
                                    ^
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:8:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘float’
     float() * std::complex<double>();
                                    ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:8:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘float’
     float() * std::complex<double>();
                                    ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:8:36: note:   deduced 
conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’)
     float() * std::complex<double>();
                                    ^
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:9:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘float’
     std::complex<double>() * float();
                                    ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:9:36: note:   mismatched types 
‘const std::complex<_Tp>’ and ‘float’
     std::complex<double>() * float();
                                    ^
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:10:50: note:   deduced 
conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’)
     std::complex<double>() * std::complex<float>();
                                                  ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:10:50: note:   deduced 
conflicting types for parameter ‘_Tp’ (‘std::complex<double>’ and ‘float’)
     std::complex<double>() * std::complex<float>();
                                                  ^
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:386:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:11:50: note:   deduced 
conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’)
     std::complex<float>() * std::complex<double>();
                                                  ^
In file included from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:395:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/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++/8/complex:404:5: note:   template argument 
deduction/substitution failed:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:11:50: note:   deduced 
conflicting types for parameter ‘_Tp’ (‘std::complex<float>’ and ‘double’)
     std::complex<float>() * std::complex<double>();
                                                  ^
make[1]: *** [CMakeFiles/cmTC_624a0.dir/build.make:66: 
CMakeFiles/cmTC_624a0.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_624a0/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;
  }
  
Performing C++ SOURCE FILE Test DEAL_II_COMPILER_HAS_FUSE_LD_LLD failed with 
the following output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_7341f/fast"
/usr/bin/make -f CMakeFiles/cmTC_7341f.dir/build.make 
CMakeFiles/cmTC_7341f.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7341f.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_COMPILER_HAS_FUSE_LD_LLD -Werror -fuse-ld=lld   -o 
CMakeFiles/cmTC_7341f.dir/src.cxx.o -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_7341f
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7341f.dir/link.txt 
--verbose=1
/usr/bin/c++   -DDEAL_II_COMPILER_HAS_FUSE_LD_LLD -Werror -fuse-ld=lld    
-rdynamic CMakeFiles/cmTC_7341f.dir/src.cxx.o  -o cmTC_7341f 
collect2: fatal error: cannot find 'ld'
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_7341f.dir/build.make:87: cmTC_7341f] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_7341f/fast] Error 2

Source file was:

    int main() { return 0; }
    
Determining if the Fortran sgemm exists failed with the following output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8808f/fast"
/usr/bin/make -f CMakeFiles/cmTC_8808f.dir/build.make 
CMakeFiles/cmTC_8808f.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building Fortran object CMakeFiles/cmTC_8808f.dir/testFortranCompiler.f.o
/usr/bin/gfortran    -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/testFortranCompiler.f -o 
CMakeFiles/cmTC_8808f.dir/testFortranCompiler.f.o
Linking Fortran executable cmTC_8808f
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8808f.dir/link.txt 
--verbose=1
/usr/bin/gfortran      CMakeFiles/cmTC_8808f.dir/testFortranCompiler.f.o  -o 
cmTC_8808f 
/usr/bin/ld: CMakeFiles/cmTC_8808f.dir/testFortranCompiler.f.o: in function 
`MAIN__':
testFortranCompiler.f:(.text+0xa): undefined reference to `sgemm_'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_8808f.dir/build.make:87: cmTC_8808f] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_8808f/fast] Error 2


Determining if the pthread_create exist failed with the following output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_4ff3c/fast"
/usr/bin/make -f CMakeFiles/cmTC_4ff3c.dir/build.make 
CMakeFiles/cmTC_4ff3c.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4ff3c.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_4ff3c.dir/CheckSymbolExists.c.o   -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_4ff3c
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4ff3c.dir/link.txt 
--verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_4ff3c.dir/CheckSymbolExists.c.o  -o 
cmTC_4ff3c 
/usr/bin/ld: CMakeFiles/cmTC_4ff3c.dir/CheckSymbolExists.c.o: in function 
`main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_4ff3c.dir/build.make:87: cmTC_4ff3c] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_4ff3c/fast] Error 2

File /home/gary/Deal.II/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/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1a258/fast"
/usr/bin/make -f CMakeFiles/cmTC_1a258.dir/build.make 
CMakeFiles/cmTC_1a258.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1a258.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o 
CMakeFiles/cmTC_1a258.dir/CheckFunctionExists.c.o   -c 
/usr/local/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_1a258
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a258.dir/link.txt 
--verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic 
CMakeFiles/cmTC_1a258.dir/CheckFunctionExists.c.o  -o cmTC_1a258 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_1a258.dir/build.make:87: cmTC_1a258] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_1a258/fast] Error 2


Performing C++ SOURCE FILE Test MKL_SYMBOL_CHECK failed with the following 
output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_37b40/fast"
/usr/bin/make -f CMakeFiles/cmTC_37b40.dir/build.make 
CMakeFiles/cmTC_37b40.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_37b40.dir/src.cxx.o
/usr/bin/c++    -DMKL_SYMBOL_CHECK -pthread   -o 
CMakeFiles/cmTC_37b40.dir/src.cxx.o -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: mkl.h: No 
such file or directory
     #include <mkl.h>
              ^~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_37b40.dir/build.make:66: 
CMakeFiles/cmTC_37b40.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_37b40/fast] Error 2

Source file was:

    #include <mkl.h>
    #include <vector>
    int main(){
      const int m = 5;
      const int n = 2;
      std::vector<double> A(m*n,0.);
      std::vector<double> B(m*n,0.);
      mkl_domatcopy('C', 'T', m, n, 1., A.data(), n, B.data(), m);
      return 0;
    }
Performing C++ SOURCE FILE Test DEAL_II_HAS_AUTO_PTR failed with the following 
output:
Change Dir: /home/gary/Deal.II/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8cd6c/fast"
/usr/bin/make -f CMakeFiles/cmTC_8cd6c.dir/build.make 
CMakeFiles/cmTC_8cd6c.dir/build
make[1]: Entering directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8cd6c.dir/src.cxx.o
/usr/bin/c++    -DDEAL_II_HAS_AUTO_PTR -std=c++17 -Werror   -o 
CMakeFiles/cmTC_8cd6c.dir/src.cxx.o -c 
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
/home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:7:12: error: ‘template<class> 
class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations]
       std::auto_ptr<int> x(i);
            ^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
                 from /home/gary/Deal.II/CMakeFiles/CMakeTmp/src.cxx:2:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [CMakeFiles/cmTC_8cd6c.dir/build.make:66: 
CMakeFiles/cmTC_8cd6c.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/gary/Deal.II/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_8cd6c/fast] Error 2

Source file was:

    #include <memory>

    int main()
    {
      int *i = new int;
      std::auto_ptr<int> x(i);
      return 0;
    }
    

Reply via email to