On 1/20/22 1:43 PM, Lucas Myers wrote:

As an added twist, when I try to compile with clang 13 (just step-40, not deal.II -- that's still compiled with gcc) it tries to look for a bunch of libraries twice: hypre, p4est, and petsc. I've also attached the output of `make VERBOSE=1` from the clang compilation. Note that there's a bunch of extraneous project stuff unrelated to the bug in both these make files.

As a general, your life will be unhappy if you have two versions (or just two copies) of the same library accessible via LD_LIBRARY_PATH. That seems to be the case for you. It leads to great confusion and error messages that, as you found, seem to make no sense at all.

My suggestion is to remove one or the other copy of PETSc (or both) on your system, remove deal.II and everything that was compiled along with it and might depend on PETSc, and start the whole installation process from scratch. Root out the problem by starting from scratch. It is by far the easier way than trying to somehow work around it by setting paths in certain ways or telling the compiler this or that. Start from scratch.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@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/2454bbef-e1bb-db56-8e53-12256c3867b3%40colostate.edu.

Reply via email to