Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build dealii #327

Closed
EGGWang97 opened this issue Feb 13, 2023 · 4 comments
Closed

Failed to build dealii #327

EGGWang97 opened this issue Feb 13, 2023 · 4 comments

Comments

@EGGWang97
Copy link

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

@bangerth
Copy link
Member

What is the compiler you are using?

@EGGWang97
Copy link
Author

What is the compiler you are using?

gcc 6.1.0

@bangerth
Copy link
Member

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
Copy link
Member

tjhei commented Mar 16, 2023

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

@tjhei tjhei closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants