Page 1 of 1

ScaLAPACK, pdsyevr range=I, IU<N -> PDORMTR failure

PostPosted: Fri Jul 14, 2017 2:13 pm
by zerothi
I have tried to run the following:

JOBZ='V', RANGE='I', il=1, iu=<N (any number less than the order of the matrix) and queried the work-size via lwork=-1 and liwork=-1.

However, when running pdsyevr it fails with the following error:
Code: Select all
{    0,    0}:  On entry to PDORMTR parameter number   16 had an illegal value
{    0,    1}:  On entry to PDORMTR parameter number   16 had an illegal value


The 16'th parameter is the lwork parameter for the PDORMTR call in PDSYEVR.

I have tried to increase lwork 10 fold, i.e. queried the size and multiplied by 10, to no avail.

It should be noted that exactly the same matrix (in complex numbers) can be solved using pzheevr using the same procedure with no problems.