On 10/21/24 03:58, 'Alexander Greiner' via deal.II User Group wrote:
>
> For step-17 I get the same error message indicating that the memory
> allocation failed, for step-18 and my personal code it just fills up the
> system RAM until one aborts it. (Everything works using only 1 core
> though.) Similarly, step-42 for example runs perfectly fine.
> Since the issue seems to be spack miscompiling METIS, I don't really
> expect there is a solution for that, other than trying to recompile
> everything or switching to parallel::distributed::Triangulation. Still,
> I'm very grateful for any suggestions!
Somewhere in step-18 and in your own code, you are calling
GridTools::partition_triangulation():
https://www.dealii.org/current/doxygen/deal.II/namespaceGridTools.html#a99eba8e3b388258eda37a2724579dd1d
It takes a defaulted third argument that you could choose other than
METIS and see whether that addresses the issue by simply not using METIS.
Best
W.