The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

pcgesvd performance

Open discussion regarding features, bugs, issues, vendors, etc.

pcgesvd performance

Postby thombos » Wed Apr 30, 2008 4:52 pm

Hello all,

I'm calculating the single complex SVD of highly rectangular matrices, typically of shape 800x80000 or on that order.
I get the correct result, however in all combinations I tried the performance is rather poor (actually I need 12 or more processors to beat a single CPU lapack implementation).
Can someone please give me a hint for block size and grid shape to get good performance here ?

Thank you,
Thomas
thombos
 
Posts: 30
Joined: Mon Nov 26, 2007 8:41 pm

Postby Julien Langou » Wed Apr 30, 2008 5:46 pm

The problem is the shape of your matrix. You have a small and fat matrix.
I am even impressed that ScaLAPACK managed to get better performance
than LAPACK with any processor count.

We have recently developed some algorithms for tall and skinny matrix,
those algorithms are radically different from ScaLAPACK. (They use
the same data structure.)

Also our algorithm have been designed for tall and skinny matrices, they
work as well on small and fat, that's zero problem.

What you should do is a QR factorization of your initial matrix, preferably
with our new algorithm, then perform an SVD factorization of the
800-by-800 R factor. The 800-by-800 SVD factorization can be done
sequentially. Maybe in parallel on a few processes if that becomes a bottleneck.

I can provide with a tall-and-skinny code that works for me if you give me
you sent me an email and if you have say a few hours to interface with it.

Julien.
Julien Langou
 
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Postby thombos » Wed Apr 30, 2008 6:28 pm

Thanks,

I'm interested and will send you p.m. in a minute. I did check with close to square matrices and there the performance clearly smokes single CPU performance.

Thomas
thombos
 
Posts: 30
Joined: Mon Nov 26, 2007 8:41 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 6 guests