rhdodds / warp3d

Open source code for nonlinear finite element analysis of 3D solids and structures
Other
99 stars 39 forks source link

Linux (at least) builds fail on tests where you don't actually solve anything #21

Open reverendbedford opened 10 months ago

reverendbedford commented 10 months ago

I get either nice errors or segfaults from pardiso on Linux when running tests where all the DOFs are constrained. An example is example_problem_threads/test_17. The failures occur when you call pardiso over an "empty" system of equations, as there is nothing to solve for in this example.

An easy fix is to guard against this condition and just return from the solve manager if the system is empty.