On Fri, Feb 14, 2020 at 6:26 AM Bailey Curzadd <bcurza...@gmail.com> 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 result of Eigen's fussiness about alignment. The performance
> gain in the cases where it worked was pretty minimal, so I don't really
> feel like sorting through the list of flags to find the troublemakers. I
> wouldn't worry about your implementation; the issue seems to be my own
> code, and I have a habit of breaking things.
>

Ah, I would not have guessed that optimization compiler flags were the
issue, glad you figured it out.

-- 
John

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to