Hi all, I think there is a bug in the Teuchos_LAPACK.hpp file: Instead of ZGETRI_F77(&n, A, &lda, IPIV, WORK, lwork, info); one should have ZGETRI_F77(&n, A, &lda, IPIV, WORK, & lwork, info); Similarly for the other GETRI wrappers. Burkhard