|
Ublas : |
Subject: Re: [ublas] Performance woes affecting ublas
From: Riccardo Rossi (rrossi_at_[hidden])
Date: 2010-05-13 03:57:09
i can not provide a simple example, as the ublas is integrated into a
large code.
if you like you can download all of the source (or even binaries) from
the page
http://kratos.cimne.upc.es/kratoswiki/index.php/Main_Page
-> Download
the interface to ublas is in
kratos/spaces/ublas_space.h
hope it can be useful
Riccardo
-
________________________________________________________________
Riccardo Rossi, Ph.D, Civil Engineer
member of the Kratos Group: kratos.cimne.upc.es
Centro Internacional de Métodos Numéricos en IngenierÃa (CIMNE)
Universidad Politécnica de Cataluña (UPC)
Edificio C-1, campus Norte UPC
Gran Capitan, s/n
08034 Barcelona, España
Tel. (+34) 93 401 5696
________________________________________________________________
AVISO IMPORTANTE
Los datos de carácter personal contenidos en el mensaje, se registrarán
en un fichero para facilitar la gestión de las comunicaciones de CIMNE.
Se pueden ejercitar los derechos de acceso, rectificación, cancelación y
oposición por escrito, dirigiéndose a nuestras oficinas de CIMNE, Gran
Capitán s/n, Edificio C1 - Campus Norte UPC, 08034 Barcelona, España.
AVÃS IMPORTANT
Les dades de carà cter personal contingudes en aquest missatge es
registraran en un fitxer per facilitar la gestió de les comunicacions
del CIMNE. Es poden exercir els drets d'accés, rectificació,
cancel·lació i oposició, per escrit a les nostres oficines del CIMNE,
Gran Capità s/n, Edifici C1, Campus Nord UPC, 08034 Barcelona, Espanya.
IMPORTANT NOTICE
All personal data contained in this mail will be processed
confidentially and stored in a file property of CIMNE in order to manage
corporate communications. You may exercise the right of access,
rectification, deletion and objection by letter sent to CIMNE, Gran
Capitán, Edificio C1 - Campus Norte UPC, 08034 Barcelona, Spain.
On Thu, 2010-05-13 at 00:17 -0700, Vardan Akopian wrote:
> On Tue, May 11, 2010 at 3:51 PM, Rui Maciel <rui.maciel_at_[hidden]>
> wrote:
>
> Riccardo Rossi wrote:
> > Hi Rui,
> > this is just to say that we have a pretty large
> finite element
> > code heavily based on ublas ... and that in our benchmarks
> it is
> > competitive to fortran based implementations.
> >
> > although i am pretty sure that for small dense matrices
> other libraries
> > are far more efficient, i am pretty sure that this
> performance penalty
> > does not sussist for large sparse matrices.
>
>
> Is it possible to provide an example where ublas offers a
> reasonable efficiency
> at solving systems of linear equations based on sparse
> matrices? It would be
> great if it was possible to access this sort of info as the
> documentation
> doesn't cover this subject and is a bit lacking in these sort
> of details.
>
>
> Hi Rui,
>
> How about posting the code that was taking 6 minutes with uBlas and
> now takes 5 seconds with eigen.
> Without an example of code where library X significantly outperforms
> uBlas, this thread has no value and is borderline trolling.
> Otherwise, if you are actually asking for help in optimizing your
> uBlas based code, you should choose a more appropriate subject line.
>
> As to examples for using uBlas to solve sparse systems, you can do a
> search on umfpack bindings for uBlas. Documentation for v1 bindings:
> http://boost-sandbox.cvs.sourceforge.net/*checkout*/boost-sandbox/boost-sandbox/libs/numeric/bindings/umfpack/doc/index.html
>
> -Vardan
>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: rrossi_at_[hidden]