gurads for lapack