<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:14pt"><div>Hi Habib,<br><br>First of all you should make sure that your program is being compiled without debug flags and with code optimization (e.g. -O3) you can set it to "Release" to do so. Second, do you link to blas, lapack, and atlas or you don't? if you don't why should it link to those? Most importantly, VNL is very week when it comes to sparse matrix. Try the following if you didn't gain perfomance, you can try more complex libraries like boost or gmm that have interface to blas, lapack and atlas.<br><br>Regards,<br>Kayhan <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 14pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Hi everyone , <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  I am currently using a large sparse
 system of linear<br>equation which is non-symmetric. I tried using VNL sparse system solvers but<br>they are very slow , I can't still understand why they are slow because they<br>are supposed to utilise the BLAS and Lapack libraries to speed up. Can<br>anyone tell me how can I speed up the procedure???? I also tried the release<br>instead of debug. It was able to reduce the time taken but not to a<br>significant effect. Would including the Utilities folder in the<br>CMakeFile.txt help ???<br><br>I look forward to your reply and sorry for any inconvenience. <br><br><br><br>-- <br><span>View this message in context: <a target="_blank" href="http://n2.nabble.com/solving-large-linear-equations-tp3092477p3092477.html">http://n2.nabble.com/solving-large-linear-equations-tp3092477p3092477.html</a></span><br>Sent from the ITK Insight Users mailing list archive at <a target="_blank"
 href="http://Nabble.com">Nabble.com</a>.<br><br><br>*********************************************<br></div></div></div><br>

      </body></html>