On 10/2/23 00:46, timo Hyvärinen wrote:
(I) How to make the program run faster through Valgrind profiling? I know I should use cachegrind and callgrind, but I don't know is what things I should pay attention to from cachegrind/callgrind reports, what properties have significant impact on speed;

Bruno already answered this, but I wanted to point you at the introduction of step-22 for an example.

As for your other email: 10 MB of leaks is small potatoes compared to the 10 GB you allocate. You will have to figure out where all that memory is allocated. My recommendation would be to debug these sorts of issues on a local machine, rather than a cluster. You could set up a smaller test case that runs faster.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/2c3e922d-022e-4204-79d9-c897267129d0%40colostate.edu.

Reply via email to