calling dgetrf: val=0xe86f80, ipiv=0xe872b0, work=0xe872e0 after dgetrf: val=0xe86f80, ipiv=0xe872b0, work=0xe872e0 after dgetri workspace query: val=0xe86f80, ipiv=0xe872b0, work=0xe872e0 dgetri: workspace = 640 before 'real' dgetri call: val=0xe86f80, ipiv=0xe872b0, work=0xe872e0 Segmentation fault (core dumped)