Wolfgang, you are a genius.
The exact error I am getting is related to AVX instructions not being 
available. I think this is normal because this is an AMD Rome based cluster 
and not an intel one.

Run Build Command(s):/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/gmake 
cmTC_be568/fast && /cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/gmake 
-f CMakeFiles/cmTC_be568.dir/build.make CMakeFiles/cmTC_be568.dir/build
gmake[1]: Entering directory 
'/home/blaisbru/dealii/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_be568.dir/src.cxx.o
/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/gcccore/9.3.0/bin/c++ 
   
-DDEAL_II_HAVE_AVX   -o CMakeFiles/cmTC_be568.dir/src.cxx.o -c 
/home/blaisbru/dealii/build/CMakeFiles/CMakeTmp/src.cxx
/home/blaisbru/dealii/build/CMakeFiles/CMakeTmp/src.cxx:3:6: error: #error 
"__AVX__ flag not set, no support for AVX"
    3 |     #error "__AVX__ flag not set, no support for AVX"
      |      ^~~~~
/home/blaisbru/dealii/build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int 
main()’:
/home/blaisbru/dealii/build/CMakeFiles/CMakeTmp/src.cxx:35:9: warning: AVX 
vector return without AVX enabled changes the ABI [-Wpsabi]
   35 |       b = _mm256_set1_pd (static_cast<volatile double>(2.25));
      |       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: *** [CMakeFiles/cmTC_be568.dir/build.make:66: 
CMakeFiles/cmTC_be568.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory 
'/home/blaisbru/dealii/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_be568/fast] Error 2

Hopefully I find a solution from there :)!


On Thursday, October 28, 2021 at 11:20:42 p.m. UTC-4 Wolfgang Bangerth 
wrote:

> On 10/28/21 8:02 PM, blais...@gmail.com wrote:
> > 
> > However, whenever I run CMAKE using deal.II AND enabling Trilinos, I get 
> the 
> > following error:
> > Configuration error: Cannot compile a test program with the final set of
> >     compiler and linker flags:
> >     CXX flags (DEBUG): -pedantic -fPIC -Wall -Wextra -Wmissing-braces 
> > -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override 
> > -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new 
> > -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi 
> > -Wno-class-memaccess -fopenmp-simd -Wno-parentheses 
> -Wno-unused-local-typedefs 
> > -O0 -ggdb -Wa,--compress-debug-sections
>
> Somewhere, in some file that is probably located under CMakeFiles in your 
> build directory, it will provide you with whatever error messages cmake 
> got 
> when it tried to compile a test program with these flags. If you know what 
> that error is, you're probably 75% there towards identifying what the real 
> underlying problem is.
>
> Best
> W.
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: bang...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/fb910de8-53f0-4eca-90a7-14a54e3069a1n%40googlegroups.com.

Reply via email to