<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Nick.<div class=""><br class=""></div><div class="">Yes I inferred as much but keeping to the small molecule tradition I deal with dense matrices, a realm in which OpenBLAS is the king.</div><div class=""><br class=""></div><div class="">More precisely, I build a dense Jacobian J from which I compute a dense normal matrix J^T J: the computation of J^T J totally dominate runtime and the fastest algorithm is LAPACK&nbsp;SFRK taking advantage of an optimised BLAS level 3. OpenBLAS provides both in an easy to build package, with runtime selection of the code depending on the detected processor. In the context of Olex 2, the latter is a key advantage: we can distribute one library which will optimally run on any Intel processor.</div><div class=""><br class=""></div><div class="">However I do deal with sparse matrices for restraints and constraints, using the hand-made sparse matrix framework in scitbx.sparse, which proved to be very inefficient in places. I fixed that (commits still to come) but seeing you were using Eigen, it is on my todo list to see whether I should move restraints and constraints to Eigen::SparseMatrix instead. I may come back to you with questions then.</div><div class=""><br class=""></div><div class="">Best wishes,</div><div class=""><br class=""></div><div class="">Luc</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 6 Mar 2016, at 21:38, Nicholas Sauter &lt;<a href="mailto:nksauter@lbl.gov" class="">nksauter@lbl.gov</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Luc,<div class=""><br class=""></div><div class="">Are you also aware that we've implemented sparse Cholesky decomposition by wrapping the Eigen C++ header library?&nbsp; We use it now within DIALS for true sparse-matrix decomposition.&nbsp; One modality is that we take a Jacobian expressed in terms of the sparse::matrix data structure that you defined within scitbx, but then we use Eigen to actually solve the normal matrix.&nbsp;</div><div class=""><br class=""></div><div class="">David Waterman &amp; I can provide more details as needed.</div><div class=""><br class=""></div><div class="">Nick&nbsp;</div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class="">Nicholas K. Sauter, Ph. D.<br class="">Computer Staff Scientist,&nbsp;Molecular Biophysics and Integrated Bioimaging Division<div class="">Lawrence Berkeley National Laboratory<br class="">1 Cyclotron Rd., Bldg. 33R0345<br class="">Berkeley, CA 94720<br class="">(510) 486-5713<br class=""></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Sun, Mar 6, 2016 at 5:06 AM, Luc Bourhis <span dir="ltr" class="">&lt;<a href="mailto:luc_j_bourhis@mac.com" target="_blank" class="">luc_j_bourhis@mac.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="">
<br class="">
this is an advanced warning for the introduction of a new top-level module named fast_linalg. In a couple of days, I will push it in one go as 25 commits but don’t be scared, nothing is changed outside the top directory fast_linalg, which also means it is not configured by default. Thus there cannot be any disruption but I thought it would be polite to warn all cctbx developers.<br class="">
<br class="">
The module features the automatic installation and integration of OpenBLAS which I have used to speed up smtbx refinement. I will commit that work later.<br class="">
<br class="">
Best wishes,<br class="">
<br class="">
Luc J. Bourhis<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
cctbxbb mailing list<br class="">
<a href="mailto:cctbxbb@phenix-online.org" class="">cctbxbb@phenix-online.org</a><br class="">
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank" class="">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br class="">
</blockquote></div><br class=""></div>
_______________________________________________<br class="">cctbxbb mailing list<br class=""><a href="mailto:cctbxbb@phenix-online.org" class="">cctbxbb@phenix-online.org</a><br class="">http://phenix-online.org/mailman/listinfo/cctbxbb<br class=""></div></blockquote></div><br class=""></div></body></html>