On Wed, Jun 1, 2016 at 5:41 AM, Paul T. Bauman <ptbau...@gmail.com> wrote:

> On Wed, Jun 1, 2016 at 6:43 AM, <li....@siat.ac.cn> wrote:
> >
> >
> >  --enable-tbb                 build with threading support via Threading
> > Building Blocks
> >  --enable-pthreads         build with threading support via POSIX threads
> > (pthreads)
> >  --enable-cppthreads     Build with C++ std::thread support
> >
> > If I am not using threads, can I disable them all?
> >
>
> Yes. --disable-tbb, etc.
>

First of all, can I ask what the errors you're seeing actually are?  Please
paste them directly into an email if you can.

Thread local storage and LIBMESH_TLS is controlled by the AX_TLS test in
ax_tls.m4.  It is only used to determine the appropriate flavor of the
"__thread" specifier for the current compiler, and is completely separate
from the threading models.  Furthermore, it's not actually used in libmesh
itself, but only by the Metis library in contrib.  The test is called from
tbb.m4 and metis.m4, so if you disable those two things, it will have the
effect of disabling thread local storage, but I admit this could be more
fine-grained.

-- 
John
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to