This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Segmentation fault (core dumped) with some solver

–2 votes

When I run a code I have with the minres solver with preconditioner amg, it works fine. However if I change to using the mumps solver with the default preconditioner, I get the error

Segmentation fault (core dumped)

Anyone have an idea what is going on?

asked Mar 12, 2015 by bseguin FEniCS Novice (650 points)

You need to be more specific. A segmentation fault happens when the program tries to access memory it doesn't have access to. With the information you have provided, it is impossible to know where the error occurs. It could be a fenics bug, but it could also be related to mumps or the linear algebra backend.

Also, providing a preconditioner to the mumps solver makes no sense, as mumps is a direct solver (as opposed to an iterative solver like minres).

If possible, please provide a minimal working example that reproduces the error.

...