Re: [Libmesh-devel] Mutex lock-up when using periodic boundary conditions in debug mode

2010-10-25 Thread Derek Gaston
Just to be clear... this is happening when compiling libMesh with TBB support. Without TBB everything is fine (obviously). Derek On Oct 25, 2010, at 2:23 PM, David Andrs wrote: > Hi! > > I think I found a bug when I was working on the periodic-boundary patch > (submitted earlier today). If

[Libmesh-devel] Mutex lock-up when using periodic boundary conditions in debug mode

2010-10-25 Thread David Andrs
Hi! I think I found a bug when I was working on the periodic-boundary patch (submitted earlier today). If I compiled libmesh in debug mode and ran my application, it locked up. I figured out that point_locator() is called (mesh_base.C line 287), it allocated a mutex and then it called a constr

[Libmesh-devel] Improving periodic boundaries

2010-10-25 Thread David Andrs
Hi! Attached is a patch that improves periodic boundaries in the following way. The calculation of translation goes through Point get_translation(const Point &pt) virtual method, so that people can do their own translations if it depends on the point pt (main reason why I did that, because our