sgn icon indicating copy to clipboard operation
sgn copied to clipboard

GWAS fails

Open ClayBirkett opened this issue 2 years ago • 3 comments

using R4.2 the solgwas tool fails

using a simple example from rrBLUP 4.6.1 scores <- GWAS(pheno,geno,plot=FALSE) Error in mixed.solve(y, X = X2, Z = Z, K = K2, return.Hinv = TRUE) : K not positive semi-definite

I believe this is because of LAPACK 3.10.0 The code works correctly on my mac but fails on debian so appears to be platform dependent Does solgwas work on other systems that have be upgraded?

ClayBirkett avatar Jun 07 '22 19:06 ClayBirkett

I found that if I uninstall 3 openblas libraries that it fixes the errors running GWAS in rrBLUP.

ClayBirkett avatar Jun 08 '22 11:06 ClayBirkett

Also doesn't work with R-4.2.1 which has updated LAPACK and fixed OpenBLAS. Temporary fix is to remove openBLAS packages, apt-get remove libopenblas0, but probably needs to recompile Rlib

ClayBirkett avatar Jun 27 '22 23:06 ClayBirkett

Does this work now with the new R4.2 library?

lukasmueller avatar Oct 07 '22 14:10 lukasmueller

I still get "Error in solve.default(cov.mat[]) : system is computationally singular" when running solgwas after loading libopenblas-base we are running R version 4.2.2

ClayBirkett avatar Jan 23 '23 19:01 ClayBirkett

I tested using libopenblas with R-4.3.0 and it still crashes running GWAS. So we should not add these libraries back

ClayBirkett avatar Apr 28 '23 18:04 ClayBirkett