[Trilinos-Users] Tpetra_CrsMatrix, {replace, insert}LocalValues slow/overkill?

Nico Schlömer nico.schloemer at ua.ac.be
Thu May 20 10:57:54 MDT 2010


Hi,

this is a purely serial build with GCC 4.3.4 on my laptop. I didn't
specify any particular compile options, and I see that Trilinos chooses

    /usr/bin/g++   -DTEUCHOS_LIB_EXPORTS_MODE -ansi -pedantic -Wall 
-Wno-long-long -Wwrite-strings -Wshadow -Woverloaded-virtual    -Werror -O3

Well, -O3 is rather aggressive and can sometimes lead to very large
libraries which eventually results in slower code. Will try -O2 later.
I'll also play with the optimization options of my own code.

Cheers,
Nico


On 05/20/2010 06:20 PM, Heroux, Michael A wrote:
>
>
> This is too much time in the fill.  What compiler and level of
> compiler optimization are you using?  Sometimes template expressions
> are not optimized fully, leading to these kinds of hotspots.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20100520/119e7ac4/attachment-0001.html 


More information about the Trilinos-Users mailing list