As far as I can tell from the svn diff (<a href="http://cctbx.svn.sourceforge.net/viewvc/cctbx?view=revision&amp;revision=15762" target="_blank">http://cctbx.svn.sourceforge.net/viewvc/cctbx?view=revision&amp;revision=15762</a>) the only difference that passing --enable-boost-threads made was to include the &quot;-pthread&quot; flag, and when not enabled the &#39;BOOST_DISABLE_THREADS&#39; option was passed instead to the compiler. I do not know if passing the &#39;BOOST_DISABLE_THREADS&#39; option could cause a conflict when linking to a program compiled with the -pthread option. Neither of these options are passed to the compiler in the current cctbx.<div>




<br></div><div>Boost.Threads support was removed from the cctbx because it was only experimental, and was superseded by better alternatives. Do you still observe the same problem if you use a more recent version of the cctbx, either svn or one of the nightly builds (<a href="http://cci.lbl.gov/builds/">http://cci.lbl.gov/builds/</a> - there isn&#39;t really much distinction between &quot;released&quot; and &quot;unreleased&quot; builds)?</div>

<div><br></div><div>Cheers,</div><div><br>Richard</div><div><br></div><div><br><div class="gmail_quote">On 17 October 2012 16:56, Jeffrey Van Voorst <span dir="ltr">&lt;<a href="mailto:vanv0059@umn.edu" target="_blank">vanv0059@umn.edu</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My question is of a slightly different nature.  Specifically, what type of &quot;magic&quot; is enabled by --boost-enable-threads in the latest release of cctbx that allows the libiotbx_pdb.so library to be linked correctly to a simple program when that linking includes the &quot;-pthread&quot; flag?  By simple, I mean a program that has two lines in the main function -- reading the PDB file and constructing the hierarchy.<br>





<br>
My goal is to try to understand the dependencies and why the simple program would have a memory corruption when libiotbx_pdb.so was not compiled using --boost-enable-threads.<br>
<br>
--Jeff<div><br>
<br>
On 10/17/12 5:28 PM, Richard Gildea wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jeff,<br>
<br>
Boost.Threads support in the cctbx was removed back in August (<a href="http://phenix-online.org/pipermail/cctbxbb/2012-August/000468.html" target="_blank">http://phenix-online.org/<u></u>pipermail/cctbxbb/2012-August/<u></u>000468.html</a>, <a href="http://cctbx.svn.sourceforge.net/viewvc/cctbx?view=revision&amp;revision=15762" target="_blank">http://cctbx.svn.sourceforge.<u></u>net/viewvc/cctbx?view=<u></u>revision&amp;revision=15762</a>). If you are using a recent copy of the sources then the libtbx configure command should raise an error if you pass the now defunct --enable-boost-threads option.<br>





<br>
Cheers,<br>
<br>
Richard<br>
<br>
</blockquote>
<br></div><div><div>
______________________________<u></u>_________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/<u></u>mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>