DReichLab / EIG

Eigen tools by Nick Patterson and Alkes Price lab
Other
180 stars 60 forks source link

Glibc specific version preventing smartpca from working #79

Closed hhg7 closed 2 years ago

hhg7 commented 2 years ago

I'm trying to run the command

perl bin/smartpca.perl -i merged.eigenstrat.34string.length.geno -a merged.eigenstrat.34string.length.snp -b merged.eigenstrat.34string.length.ind -o merged.eigenstrat.34string.length.pca -p merged.eigenstrat.34string.length.plot -e merged.eigenstrat.34string.length.eval -l merged.eigenstrat.34string.length.log

but the above command is giving an error:

smartpca -p merged.eigenstrat.34string.length.pca.par >merged.eigenstrat.34string.length.log
smartpca: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by smartpca)
ploteig -i merged.eigenstrat.34string.length.pca.evec -c 1:2  -p   -x  -y  -o merged.eigenstrat.34string.length.plot.xtxt 
evec2pca.perl 10 merged.eigenstrat.34string.length.pca.evec merged.eigenstrat.34string.length.ind merged.eigenstrat.34string.length.pca

The glib version on the server is version 2.56

Is there some workaround for this error?

hhg7 commented 2 years ago

The problem is that smartpca must be compiled separately on each separate laptop/server/computer. Transferring the executable from one computer to another will not work, and will produce strange errors like above.