On Thu, 9 May 2019, Alexander Lindsay wrote:

> I'm getting the helgrind error below. Is this a false positive?

My intuition says "no, this is a real bug", but I'm having trouble
figuring out what's really going on here.  There's a race condition
between a read and a write to the same spot in the same PetscVector,
from two different threads working on the SortAndCopy::operator()?
But I don't immediately see how that's possible.  That operator reads
from one PetscVector and writes to a different PetscVector.

Can you set up a case that (at least usually) reproduces the problem?

Thanks,
---
Roy


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

Reply via email to