sgn
sgn copied to clipboard
GWAS fails
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?
I found that if I uninstall 3 openblas libraries that it fixes the errors running GWAS in rrBLUP.
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
Does this work now with the new R4.2 library?
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
I tested using libopenblas with R-4.3.0 and it still crashes running GWAS. So we should not add these libraries back