Re: [Libmesh-users] Unusual memory error due to Eigen solver

2020-02-14 Thread John Peterson
On Fri, Feb 14, 2020 at 6:26 AM Bailey Curzadd wrote: > I did a lot of testing with dbg and opt builds. The issue seems to be some > optimization flag activated by -march=native when compiling my own code. > Leaving this out resolves all of the spurious memory errors, which were > probably the re

Re: [Libmesh-users] Unusual memory error due to Eigen solver

2020-02-14 Thread Bailey Curzadd
I did a lot of testing with dbg and opt builds. The issue seems to be some optimization flag activated by -march=native when compiling my own code. Leaving this out resolves all of the spurious memory errors, which were probably the result of Eigen's fussiness about alignment. The performance gain