Re: [Libmesh-devel] Pthread Periodic Boundary Issue

2013-07-08 Thread Derek Gaston
Sent from my iPad On Jul 8, 2013, at 9:41 PM, Cody Permann wrote: > That's like triple-dog-daring the machine or is that temping the > sufficiently-talented fool? Are you referring to me? :-) Derek -- See everything

Re: [Libmesh-devel] Pthread Periodic Boundary Issue

2013-07-08 Thread Cody Permann
Sent from my iPhone On Jul 8, 2013, at 9:28 PM, Roy Stogner wrote: > > On Mon, 8 Jul 2013, Derek Gaston wrote: > >> It appears that something is wrong in there (or we're missing a lock >> somewhere). Here is what happens in optimized mode: >> PeriodicBoundaries point locator object returned NUL

Re: [Libmesh-devel] Pthread Periodic Boundary Issue

2013-07-08 Thread Roy Stogner
On Mon, 8 Jul 2013, Derek Gaston wrote: It appears that something is wrong in there (or we're missing a lock somewhere).  Here is what happens in optimized mode: PeriodicBoundaries point locator object returned NULL! Stack frames: 5 0: 0   libmesh_oprof.0.dylib               0x000102d98390

Re: [Libmesh-devel] Pthread Periodic Boundary Issue

2013-07-08 Thread Derek Gaston
It appears that something is wrong in there (or we're missing a lock somewhere). Here is what happens in optimized mode: PeriodicBoundaries point locator object returned NULL! Stack frames: 5 0: 0 libmesh_oprof.0.dylib 0x000102d98390 libMesh::print_trace(std::ostream&) + 64 1:

Re: [Libmesh-devel] Pthread Periodic Boundary Issue

2013-07-08 Thread Roy Stogner
On Mon, 8 Jul 2013, Derek Gaston wrote: It seems like there is something that still isn't thread safe in there. Roy: Maybe you could take a look around there and see if anything rings a bell.  I'm betting that the reason we don't see this with TBB is that our test is so small TBB isn't actuall

[Libmesh-devel] Pthread Periodic Boundary Issue

2013-07-08 Thread Derek Gaston
The last issue I have left with pthreads is that 2 of our periodic boundary condition tests are failing _periodically_ (pun! And also true...) when running in threaded mode. 8 times out of 10 I can run them threaded and they run fine - but those other 2 times they do this (in debug mode): Asser

Re: [Libmesh-devel] Hermite Shape Function Caching

2013-07-08 Thread Derek Gaston
Ok - I'm almost done with that - I'll put up a patch soon... Derek On Mon, Jul 8, 2013 at 3:07 PM, Roy Stogner wrote: > > On Mon, 8 Jul 2013, Derek Gaston wrote: > > It looks like you turned off all shape function caching in >> fe_hermite_shape_*D.C back in November. Would you mind if I just >

Re: [Libmesh-devel] Hermite Shape Function Caching

2013-07-08 Thread Roy Stogner
On Mon, 8 Jul 2013, Derek Gaston wrote: It looks like you turned off all shape function caching in fe_hermite_shape_*D.C back in November. Would you mind if I just remove everything about caching there? I ask because I went to go implement hermite caching for pthreads... and then saw that it

[Libmesh-devel] Hermite Shape Function Caching

2013-07-08 Thread Derek Gaston
Roy, It looks like you turned off all shape function caching in fe_hermite_shape_*D.C back in November. Would you mind if I just remove everything about caching there? I ask because I went to go implement hermite caching for pthreads... and then saw that it was disabled. I'd rather not implement