3
$\begingroup$

For an implicit scheme I want to solve system $Ax=B$, where $A$ is a non-symmetric square matrix. I want source codes of large sparse matrix solvers (e.g. LU-SGS) to use in my code which is in C language. I have tried preconditioned GMRES code from this site but its getting slow and takes huge amount of memory(sometimes program is getting "killed" automatically).

$\endgroup$
5
$\begingroup$

I would look at PETSc and Trilinos. They have tons of different sparse solvers available.

| cite | improve this answer | |
$\endgroup$
3
$\begingroup$

You didn't say how big your system of equations is. But if you are interested in trying direct sparse solvers, here are links to two for non-symmetric systems that are known to be of high quality and are written in C.

SuiteSparse SuperLU

| cite | improve this answer | |
$\endgroup$
  • $\begingroup$ This link is very useful. Thank you very much. $\endgroup$ – Shainath Jun 11 '13 at 13:00
0
$\begingroup$

I highly recommend on Eigen. You can also look at taucs.

| cite | improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.