Next: Error Handling and the Up: Workspace Issues Previous: LWORK Query

### LWORK WORK(1)

In some ScaLAPACK eigenvalue routines, such as the symmetric eigenproblems (PxSYEV and PxSYEVX/PxHEEVX) and the generalized symmetric eigenproblem (PxSYGVX/PxHEGVX), a larger value of LWORK can guarantee the orthogonality of the returned eigenvectors at the risk of potentially degraded performance of the algorithm. The minimum amount of workspace required is returned in the first element of the work array, but a larger amount of workspace can allow for additional orthogonalization if desired by the user. Refer to section 5.3.6 and the leading comments of the source code for complete details.