[cctbxbb] iotbx::pdb and boost::unit_test::framework

Ralf Grosse-Kunstleve rwgrosse-kunstleve at lbl.gov
Wed Dec 14 10:02:51 PST 2011


Hi Jeff,


> This problem appears to be resolved by compiling iotbx with threads
> (i.e. configuring with the --enable-boost-threads flag).


Yes, that's expected, assuming the boost build system compiles with threads
by default.

I'm hoping that this enabling threads will not adversely affect my python
> extension modules that use iotbx.pdb.


I don't think so.


> Are there any issues that I should be aware of when enabling the threads
> for iotbx.pdb (other than Mac OS X's buggy implementations of core system
> components such as pthreads, polling, etc.)?
>

The main reason for disabling threads has to do with OpenMP. For a while we
had OpenMP enabled if by default if available. Since we are not certain if
OpenMP plays well with threads we turned the latter off. Now OpenMP is off
too, since we repeatedly had problems. So enabling threads should be fine.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20111214/300ea1aa/attachment.htm>


More information about the cctbxbb mailing list