| The fix for this is quite simple, actually. You don’t have to recompile anything. It is enough to replace che path of the compiler inside the cmake file. Modify $(spack location -i dealii)/lib/share/cmake/deal.II/deal.IIConfig.cmake, around lines 109/110 set(DEAL_II_CXX_COMPILER "/spack/lib/spack/env/gcc/g++") set(DEAL_II_C_COMPILER "/spack/lib/spack/env/gcc/gcc") must become set(DEAL_II_CXX_COMPILER "/Applications/deal.II.app/Contents/Resources/Libraries/bin/mpicxx") set(DEAL_II_C_COMPILER "/Applications/deal.II.app/Contents/Resources/Libraries/bin/mpicc") Luca Il giorno 18 set 2024, alle ore 15:56, 'Alexander Greiner' via deal.II User Group <[email protected]> ha scritto:
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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/29EDE59F-37FA-449E-8081-BB6283AEA6DF%40gmail.com. |
- [deal.II] dealii installation i... 'Alexander Greiner' via deal.II User Group
- Re: [deal.II] dealii insta... Luca Heltai
- Re: [deal.II] dealii i... 'Alexander Greiner' via deal.II User Group
