Hello,
So I tried installing MoFEM user modules again using both:
./install_mofem_user.sh
and
spack install mofem-users-modules
both times I get an error.
Using ./install_mofem_user.sh gives:
ERROR: Compiler 'g...@8.4.0' does not support compiling C++ programs.
>> 29 make[1]: *** [CMakeFiles/cmTC_0e05b.dir/build.make:66: CMakeFiles/cmTC_0e05b.dir/testCXXCompiler.cxx.o] Error 1
Using spack install mofem-users-modules:
-- Check for working CXX compiler: /home/preslav/mofem_install/spack/lib/spack/env/gcc/g++
12 -- Check for working CXX compiler: /home/preslav/mofem_install/spack/lib/spack/env/gcc/g++ -- broken
>> 13 CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
14 The C++ compiler
15
16 "/home/preslav/mofem_install/spack/lib/spack/env/gcc/g++"
17
18 is not able to compile a simple test program.
So obviously there is an issue with gcc. Does anyone know how to solve it?