[ADMB Users] LU decomposition revisited

dave fournier davef at otter-rsch.com
Sun Nov 25 11:09:22 PST 2012


For big spatial random effects models one needs to do the LU 
decomposition on
large matrices.  (could use choleski I guess but I wanted to revisit the 
LU).

I recall that there were some performance issues with this function so 
there was
a rollback.  (Maybe someone can refresh my memory on this issue) Anyway 
I was surprised
because the new version was supposed to access memory more efficiently. 
Maybe the
problem was with the variable (dvar_matrix) version. In any event I set 
up a little test
for comparison (attached)  For a 2000x2000 matrix the newer code is already
6 times faster.  It also has a good structure for mult-threading. Anyway 
I think we can make some
good gains here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testing_lu.zip
Type: application/zip
Size: 4690 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20121125/8179bf43/attachment.zip>


More information about the Users mailing list