dealii/candi

Failed to build dealii

EGGWang97 opened this issue · 4 comments

Hi all,
I've installed hdf5, p4est and trilinos by candi on CentoS 7, but failed to build dealii. How can I solve this problem?

image

What is the compiler you are using?

What is the compiler you are using?

gcc 6.1.0

It seems like we didn't test with a compiler this old before putting out the release. GCC 6.1.0 is from April 2016, so it's quite old.

It is possible that you can fix the issue by going to include/deal.II/base/symmetric_tensor.h and removing the DEAL_II_CONSTEXPR in all places where unit_symmetric_tensor() appears. An alternative is to (i) install a newer compiler, or (ii) use a newer release of the OS that comes with a newer compiler as well.

tjhei commented

Let us know if you need further help, otherwise I assume you fixed the problem by updating compilers.