Reading matrix from file large_AM1.txt
Finished reading matrix
LU factorisation with MAGMA
LU factorisation with LAPACKe
Invert with MAGMA the LU factorisation of MAGMA
Invert with LAPACKe the LU factorisation of LAPACKe
Computing MAGMA residual with BLAS...
Initial max residue (magma, checked via blas) = 2.28856e-17
Computing LAPACKe residual with BLAS...
Initial max residue (blas, checked via blas) = 2.62605e-09
Computing residual with MAGMA...
Initial max residue (magma, computed with magma) = 1.18065e+10
Initial max residue (magma, computed with blas) = 2.28856e-17
Initial max residue (lapacke, computed with blas) = 2.62605e-09
Computing MAGMA-MAGMA correction with MAGMA...
Computing next MAGMA residual with MAGMA...
Max magma residue after 1 iterations (magma) = 49.1204
Computing LAPACKe correction with BLAS...
Computing next LAPACKe residue with BLAS...
Max lapacke residue after 1 iterations (blas) = 1.10355e-17
Computing MAGMA correction with BLAS...
Computing next MAGMA residue with BLAS...
Max magma residue after 1 iterations (blas) = 3.21898e-17
Computing MAGMA-MAGMA correction with MAGMA...
Computing next MAGMA residual with MAGMA...
Max magma residue after 2 iterations (magma) = 6.07024e-09
Computing LAPACKe correction with BLAS...
Computing next LAPACKe residue with BLAS...
Max lapacke residue after 2 iterations (blas) = 2.75529e-17
Computing MAGMA correction with BLAS...
Computing next MAGMA residue with BLAS...
Max magma residue after 2 iterations (blas) = 5.66138e-18
Computing MAGMA-MAGMA correction with MAGMA...
Computing next MAGMA residual with MAGMA...
Max magma residue after 3 iterations (magma) = 6.41222e-09
Computing LAPACKe correction with BLAS...
Computing next LAPACKe residue with BLAS...
Max lapacke residue after 3 iterations (blas) = 2.52418e-17
Computing MAGMA correction with BLAS...
Computing next MAGMA residue with BLAS...
Max magma residue after 3 iterations (blas) = 2.52418e-17
Computing residual of final MAGMA-refined MAGMA inverse with BLAS...
Final max residue (magma, checked via blas) = 2.28856e-17
$ ./testmagma large_AM1.txt
Reading matrix from file large_AM1.txt
Finished reading matrix
LU factorisation with MAGMA
LU factorisation with LAPACKe
Invert with MAGMA the LU factorisation of MAGMA
Invert with LAPACKe the LU factorisation of LAPACKe
Computing MAGMA residual with BLAS...
Initial max residue (magma, checked via blas) = 1.18065e+10
Computing LAPACKe residual with BLAS...
Initial max residue (blas, checked via blas) = 4.90236e+09
Computing residual with MAGMA...
Initial max residue (magma, computed with magma) = 1.18065e+10
Initial max residue (magma, computed with blas) = 1.18065e+10
Initial max residue (lapacke, computed with blas) = 4.90236e+09
Computing MAGMA-MAGMA correction with MAGMA...
Computing next MAGMA residual with MAGMA...
Max magma residue after 1 iterations (magma) = 49.1204
Computing LAPACKe correction with BLAS...
Computing next LAPACKe residue with BLAS...
Max lapacke residue after 1 iterations (blas) = 51.2326
Computing MAGMA correction with BLAS...
Computing next MAGMA residue with BLAS...
Max magma residue after 1 iterations (blas) = 40.8492
Computing MAGMA-MAGMA correction with MAGMA...
Computing next MAGMA residual with MAGMA...
Max magma residue after 2 iterations (magma) = 6.07024e-09
Computing LAPACKe correction with BLAS...
Computing next LAPACKe residue with BLAS...
Max lapacke residue after 2 iterations (blas) = 2.37873e-09
Computing MAGMA correction with BLAS...
Computing next MAGMA residue with BLAS...
Max magma residue after 2 iterations (blas) = 3.62756e-09
Computing MAGMA-MAGMA correction with MAGMA...
Computing next MAGMA residual with MAGMA...
Max magma residue after 3 iterations (magma) = 6.41222e-09
Computing LAPACKe correction with BLAS...
Computing next LAPACKe residue with BLAS...
Max lapacke residue after 3 iterations (blas) = 7.65702e-09
Computing MAGMA correction with BLAS...
Computing next MAGMA residue with BLAS...
Max magma residue after 3 iterations (blas) = 1.00849e-08
Computing residual of final MAGMA-refined MAGMA inverse with BLAS...
Final max residue (magma, checked via blas) = 4.13658e-08