Hello again,
I observed that PDGESV solves banded matrices 3-5 times faster than the completely full matrices..
Sorry your sentence is perfectly clear, I do not know why I did not get it the first time.
(Thanks Sven for helping me out.) That's an interesting observation.
ScaLAPACK PDGESV does not do anything special in the case your matrix is banded.
The executed code is exactly the same as in the full dense case (no switch). Since your
matrix is banded, the L and U factor are banded as well to some extent and so the LU
factorization operates on lots of block of zeroes. We can imagine that there is a switch in
MPI to compress the information when sending a block of zeroes or that there is a swicth
in BLAS to check if the matrix is full of zeroes or the compiler takes advantage of
operations by zero (Sven's hypothesis). Pivot will not be the same as well, maybe in
the banded case you are less pivoting than in the full case.
In any case hopefully PDGBSV should be faster than PDGESV on a banded matrix.
Best wishes,
Julien