Eigen, get inverse failed, and inverse() is so slow
<p>I want to get inverse matrix, so here is the code:</p>

<pre><code>if (m.rows() == m.fullPivLu().rank())
{
    res = m.inverse();
}
</code></pre>

<p>The dimension of <code>m</code> and <code>res</code> are all 5000 times 5000. And When I run the code on a high performance computing machine(Linux, <a href="https://en.wikipedia.org/wiki/Tianhe-2" rel="nofollow">Tianhe 2</a> SuperComputer), the process was kill at <code>res = m.inverse();</code>, and there was no core file or dump information generated. The console return <code>killed</code> and the process exited.</p>

<p>But there is nothing wrong on my Ubuntu laptop.</p>

<p>And the <code>inverse()</code>'s performance is poor and it costs a lot time.</p>

<p>So, why <code>inverse()</code> was killed on the high performance machine? Thank you!</p>