cctbx_project icon indicating copy to clipboard operation
cctbx_project copied to clipboard

Enable phil-scoped linear solver backend selection

Open mlxd opened this issue 6 years ago • 1 comments

The Eigen sparse linear solver backend of the LevenbergMarquardt algorithm can be chosen using the phil parameter levmar.linsolver=*ldlt llt cg bicgstab

  • ldlt = Direct Cholesky LDLT
  • llt = Direct Cholesky LLT
  • cg = Iterative conjugate gradient
  • bicgstab = Iterative biconjugate gradient stabilised

mlxd avatar Apr 04 '18 23:04 mlxd

I've removed the previous try-except structures, and moved the phil param to affect only the Eigen sparse enabled code.

Eigen has been set to 3.3 release branch. This may benefit from master at some time in future as certain algorithms are getting OpenMP support, but stable is fine currently.

mlxd avatar Apr 05 '18 22:04 mlxd