On Wed, 11 Mar 2015, Manav Bhatia wrote:

>   I seem to be facing the same issue as described here: 
> http://sourceforge.net/p/libmesh/mailman/message/31297017/ 
> <http://sourceforge.net/p/libmesh/mailman/message/31297017/>
>
>   If I build with pthreads and tbb, the code hangs at the singleton::setup 
> call.

Do you mean Singleton::Setup::Setup() (as in the above issue, which
was fixed)?  Or Singleton::setup()?  Either way, could you post a
stack trace?

> Without pthreads, it seems to be crashing at the following assert for 
> remote_elem.

I didn't see an assert in your email.  We'll need to see the stack
trace, too; most of the asserts in RemoteElem are of the form "this
function shouldn't ever be called" and aren't informative unless you
know which code is making the call.

>   I noticed that the earlier discussion had some talk about a patch
>   to comment out the scoped_lock calls. Is that still applicable?

Well, if we commented out *all* the scoped_lock calls then we'd be
running into race condition errors left and right.  I removed just the
one scoped_lock call that appeared to be extraneous and appeared to be
using an uninitialized mutex.

>   I am using intel 11.1 compiler with openmpi 1.4.2, if that is of relevance.

It does rule out a couple possible problems, thanks.

Which libMesh release (or git checkout hash) are you using?

What's your configure line?  Check your libmesh_config.h and make sure
it's detecting TBB?  IIRC we don't internally *use* pthreads unless
TBB isn't found.

Thanks,
---
Roy

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to