guards for lapack