Page 1 of 1

Time diff in finding matrix inverse in MATLAB and CLAPACK

PostPosted: Wed Aug 11, 2010 6:06 pm
by miztaken
Hi there,

I am using CLAPACK to do matrix inversion, the matix is of size 3500 by 3500.

When i do the inverse in MATLAB it takes around 3 seconds. but when i use CLAPACK it uses 17 seconds to do the same operation.

Why is there so much time difference if at the core both uses LAPACK?

thanks
miztaken

Re: Time diff in finding matrix inverse in MATLAB and CLAPACK

PostPosted: Wed Aug 11, 2010 7:19 pm
by Julien Langou
You are probably using a non optimized BLAS implementation behind CLAPACK. Matlab is using an optimized BLAS library behind LAPACK.
Julien.

Re: Time diff in finding matrix inverse in MATLAB and CLAPACK

PostPosted: Wed Aug 11, 2010 8:02 pm
by miztaken
oh.. if so.. where can i find optimized BLAS. For now i am using x64 Release blas.lib from following website...

http://www.netlib.org/clapack/LIB_WINDO ... ndows.html


thank you for your help
miztaken