[ViennaCL-devel] Test matrices for iterative solvers and preconditioners

2014-08-04 Thread Toby St Clere Smithe
Hi all,

Is there a set of test matrices I could / should use for testing the
iterative solvers and preconditioners? Clearly, the matrices should
satisfy the conditions required of the algorithms; I've tried to find
matrices on MatrixMarket, but there are far fewer results than I was
expecting, and (for instance) it seems hard to find there a real
symmetric positive definite system matrix with an associated RHS (or
such that you could generate a feasible RHS). I was hoping to be able to
run my tests on various real-world data, because I know that results can
often be input-dependent!

Ciao,

Toby


-- 
Toby St Clere Smithe
http://tsmithe.net


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel


Re: [ViennaCL-devel] Test matrices for iterative solvers and preconditioners

2014-08-04 Thread Karl Rupp
Hi Toby,

  Is there a set of test matrices I could / should use for testing the
 iterative solvers and preconditioners? Clearly, the matrices should
 satisfy the conditions required of the algorithms; I've tried to find
 matrices on MatrixMarket, but there are far fewer results than I was
 expecting, and (for instance) it seems hard to find there a real
 symmetric positive definite system matrix with an associated RHS (or
 such that you could generate a feasible RHS). I was hoping to be able to
 run my tests on various real-world data, because I know that results can
 often be input-dependent!

I suggest to use the same strategy as for the GUI, i.e. use an internal 
on-the-fly generation of symmetric, positive definite matrices. They can 
be used with all the relevant algorithms for testing purposes. The 
on-the-fly generator will be pushed (hopefully) tonight.

Best regards,
Karli


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel


Re: [ViennaCL-devel] Test matrices for iterative solvers and preconditioners

2014-08-04 Thread Toby St Clere Smithe
Hi Karli,

Karl Rupp r...@iue.tuwien.ac.at writes:
 I suggest to use the same strategy as for the GUI, i.e. use an internal 
 on-the-fly generation of symmetric, positive definite matrices. They can 
 be used with all the relevant algorithms for testing purposes. The 
 on-the-fly generator will be pushed (hopefully) tonight.

OK, I've done that. I wrote such a routine in Python; it's only 25
(verbose) lines.

Cheers,

Toby


-- 
Toby St Clere Smithe
http://tsmithe.net


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel


Re: [ViennaCL-devel] Test matrices for iterative solvers and preconditioners

2014-08-04 Thread Karl Rupp
Hi Toby (and Namik),

finally the on-the-fly matrix generation is pushed:
https://github.com/viennacl/viennacl-dev/commit/7237e71f5b8b45f1403331cbed6cd1e49fa7b7d3

calling
   generate_fdm_laplace(A, points_x, points_y)
fills the matrix A (can be a ublas::compressed_matrix (slow) or a 
ViennaCL matrix) such that it is symmetric, positive definite and has 
(points_x * points_y) columns and rows. Slight adjustments or extensions 
of the API are possible, but overall it is ready for use.

Best regards,
Karli



On 08/04/2014 03:15 PM, Toby St Clere Smithe wrote:
 Hi Karli,

 Karl Rupp r...@iue.tuwien.ac.at writes:
 I suggest to use the same strategy as for the GUI, i.e. use an internal
 on-the-fly generation of symmetric, positive definite matrices. They can
 be used with all the relevant algorithms for testing purposes. The
 on-the-fly generator will be pushed (hopefully) tonight.

 OK, I've done that. I wrote such a routine in Python; it's only 25
 (verbose) lines.

 Cheers,

 Toby




--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk
___
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel