<div dir="ltr">Gaeme<div><br></div><div>We were evacuated yesterday ~2pm but the lab is reopened now and the servers are coming on line.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Cheers<div><br></div><div>Nigel<div><br></div><div>---</div><div>Nigel W. Moriarty<br>Building 33R0349, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory<br>Berkeley, CA 94720-8235<br>Phone : 510-486-5709     Email : NWMoriarty@LBL.gov<br>Fax   : 510-486-5909       Web  : <a href="http://CCI.LBL.gov" target="_blank">CCI.LBL.gov</a></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 2, 2017 at 10:29 PM,  <span dir="ltr">&lt;<a href="mailto:Graeme.Winter@diamond.ac.uk" target="_blank">Graeme.Winter@diamond.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rob<br>
<br>
For data processing we are very interested in classic threading because our calculations include the word “if” - we have looked at pushing some of the calculations which do not include if (i.e. summed area tables) and there we get clobbered by the need to push the data of GPU memory also…<br>
<br>
Re: Python3<br>
<br>
Well there is a question. ISTR people have looked (with some success, apparently) at building cctbx with cmake, which could be an alternative to using SCons? Ergo not a p3 blocker (other blockers may exist, ymmv etc)<br>
<br>
Cheers Graeme<br>
<br>
PS - any ideas how long the server outage is likely to last? Appreciate fires are a pretty good reason to take out kit. Not a problem in the UK ATM, flooding more likely :-\<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
&gt; On 2 Aug 2017, at 22:13, Dr. Robert Oeffner &lt;<a href="mailto:rdo20@cam.ac.uk">rdo20@cam.ac.uk</a>&gt; wrote:<br>
&gt;<br>
&gt; If efficient threading is desired I would have thought that these days GPUs are all the rage and that it would be worth looking into openCL and CUDA implementations for doing this.<br>
&gt;<br>
&gt; On an unrelated note are there any thoughts on moving CCTBX to Python3? One issue, which may not be insurmountable is that SCons does not yet support Python3.<br>
&gt;<br>
&gt; Rob<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message----- From: <a href="mailto:Graeme.Winter@diamond.ac.uk">Graeme.Winter@diamond.ac.uk</a><br>
&gt; Sent: Tuesday, August 1, 2017 10:16 PM<br>
&gt; To: <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt; Subject: Re: [cctbxbb] Should we enable boost threads in bootstrap?<br>
&gt;<br>
&gt; Lee,<br>
&gt;<br>
&gt; End game for us is moving to “proper” threading i.e. lots of threads / cores working on one problem in one address space - be it regular 20 core xeon or 64 core KNL<br>
&gt;<br>
&gt; Boost threads came up in conversation today as a C++11 like threading model, so I wondered if it would be a stepping stone...<br>
&gt;<br>
&gt; Don’t have this book, maybe should get it….<br>
&gt;<br>
&gt; Cheers Graeme<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 1 Aug 2017, at 18:14, Lee O&#39;Riordan &lt;<a href="mailto:loriordan@lbl.gov">loriordan@lbl.gov</a>&lt;mailto:<a href="mailto:loriordan@lbl.gov">lori<wbr>ordan@lbl.gov</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; Graeme, Nigel,<br>
&gt;<br>
&gt; I would be a little bit worried about Boost threads when it comes to our KNL port of cctbx. In this instance the use of OpenMP or Intel TBB (at least accordingly to Intel docs) would be optimal over boost threads (or pthreads, etc.)[see Intel Xeon Phi High Performance Programming, KNL edition P155 ---  no ebook, sorry]. That being said, there is no way to know unless we try it out first, but it isn&#39;t something we can test right now.<br>
&gt;<br>
&gt; As for Threads vs MP, this again falls into our KNL port, where threads would be better suited (and become a necessity for optimal performance) when running on high-core count devices. If the OpenMP functionality exists, then maybe this would be a more portable way of taking advantage of all cores/hyperthreads.<br>
&gt;<br>
&gt; In this instance I think turning boost threads on for a build-by-build basis would be better, rather than as a default? Though if I am wrong, feel free to correct me.<br>
&gt;<br>
&gt; Best,<br>
&gt; Lee.<br>
&gt;<br>
&gt; On Tue, Aug 1, 2017 at 9:36 AM, Nigel Moriarty &lt;<a href="mailto:nwmoriarty@lbl.gov">nwmoriarty@lbl.gov</a>&lt;mailto:<a href="mailto:nwmoriarty@lbl.gov">nwm<wbr>oriarty@lbl.gov</a>&gt;&gt; wrote:<br>
&gt; Graeme<br>
&gt;<br>
&gt; The short answer is &quot;Why?&quot; but that may start a very long discussion. There are a number of multiprocessing modules in easy_mp that seem to cover all the bases. Are there situations where threading is &quot;better&quot; to multiprocessing?<br>
&gt;<br>
&gt; Articles on multiprocessing in cctbx.<br>
&gt;<br>
&gt; <a href="https://www.phenix-online.org/newsletter/CCN_2017_01.pdf#page=6" rel="noreferrer" target="_blank">https://www.phenix-online.org/<wbr>newsletter/CCN_2017_01.pdf#<wbr>page=6</a><br>
&gt;<br>
&gt; <a href="https://www.phenix-online.org/newsletter/CCN_2013_07.pdf" rel="noreferrer" target="_blank">https://www.phenix-online.org/<wbr>newsletter/CCN_2013_07.pdf</a><br>
&gt;<br>
&gt; <a href="https://www.phenix-online.org/newsletter/CCN_2013_01.pdf" rel="noreferrer" target="_blank">https://www.phenix-online.org/<wbr>newsletter/CCN_2013_01.pdf</a><br>
&gt;<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Nigel<br>
&gt;<br>
&gt; ---<br>
&gt; Nigel W. Moriarty<br>
&gt; Building 33R0349, Molecular Biophysics and Integrated Bioimaging<br>
&gt; Lawrence Berkeley National Laboratory<br>
&gt; Berkeley, CA 94720-8235<br>
&gt; Phone : <a href="tel:510-486-5709" value="+15104865709">510-486-5709</a>&lt;tel:(510)%20486-5709&gt;     Email : NWMoriarty@LBL.gov&lt;mailto:<a href="mailto:NWMoriarty@LBL.gov">NWMo<wbr>riarty@LBL.gov</a>&gt;<br>
&gt; Fax   : <a href="tel:510-486-5909" value="+15104865909">510-486-5909</a>&lt;tel:(510)%20486-5909&gt;       Web  : <a href="http://CCI.LBL.gov" rel="noreferrer" target="_blank">CCI.LBL.gov</a>&lt;<a href="http://cci.lbl.gov/" rel="noreferrer" target="_blank">http://cci.lbl.<wbr>gov/</a>&gt;<br>
&gt;<br>
&gt; On Tue, Aug 1, 2017 at 7:54 AM, &lt;<a href="mailto:Graeme.Winter@diamond.ac.uk">Graeme.Winter@diamond.ac.uk</a>&lt;<wbr>mailto:<a href="mailto:Graeme.Winter@diamond.ac.uk">Graeme.Winter@diamond.<wbr>ac.uk</a>&gt;&gt; wrote:<br>
&gt; Afternoon all,<br>
&gt;<br>
&gt; Should we do this? Any opinions? Could be useful for threads in a semi-portable way...<br>
&gt;<br>
&gt; Thanks &amp; cheerio Graeme<br>
&gt;<br>
&gt; --<br>
&gt; This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>
&gt; Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<br>
&gt; Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>
&gt; Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a>&lt;<wbr>mailto:<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.<wbr>org</a>&gt;<br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a>&lt;<wbr>mailto:<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.<wbr>org</a>&gt;<br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a>&lt;<wbr>mailto:<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.<wbr>org</a>&gt;<br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
&gt;<br>
&gt;<br>
&gt; ---<br>
&gt; This email has been checked for viruses by AVG.<br>
&gt; <a href="http://www.avg.com" rel="noreferrer" target="_blank">http://www.avg.com</a><br>
&gt; ______________________________<wbr>_________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>