STRUMPACK icon indicating copy to clipboard operation
STRUMPACK copied to clipboard

feature request: trace of a DistributedMatrix

Open AlexGKim opened this issue 2 years ago • 3 comments

I need a method that provides the trace of a DistribuedMatrix.

AlexGKim avatar Aug 25 '22 20:08 AlexGKim

https://github.com/pghysels/STRUMPACK/commit/ca2768b23bb01dbd60bb682cc7e372e965e0144a

pghysels avatar Aug 26 '22 16:08 pghysels

Hi @pghysels . Based on the behavior of the new method and my reading of the code, can I confirm whether this is the trace of the whole matrix versus that the sub matrix stored locally?

AlexGKim avatar Aug 29 '22 15:08 AlexGKim

Yes, sorry, I forgot to combine the local contributions. I should have tested. Can you try again with: https://github.com/pghysels/STRUMPACK/commit/1ebb2bf7a662442a983cc641539d7168967d74ba

pghysels avatar Aug 29 '22 15:08 pghysels