Sunday 15th January – LDAK.5 (beta) now available
If you find any errors, please email doug<dot>speed<at>ucl<dot>ac<dot>uk. I am yet to recode the gene-based testing, so for MultiBLUP, please continue to use Version 4.9.
Available are two 64-bit static executables for Linux (a regular and fast version), source code for direct compilation (with required libraries), and test datasets (which includes a gene annotations file).
Hopefully, the two executables will work, and these are compiled using Intel MKL libraries so should be super fast. Otherwise, you should be able to compile a (probably slower) version yourself from the source code. If you have BLAS and LAPACK libraries installed, then you should be able to compile with the command
gcc source/ldak.c -lm -lblas -llapack source/libqsopt.a -o ldak.out
If not, then you can try linking to the include and library files provided in the source code with the command
gcc source/ldak.c -lc libraries/liblapack.a libraries/libblas.a libraries/libgfortran.a source/libqsopt.a libraries/libm.a -o ldak.out
or for a static version, try (this might give warnings, but should still compile)
gcc -Wl,–allow-multiple-definition source/ldak.c -lc libraries/liblapack.a libraries/libblas.a libraries/libgfortran.a source/libqsopt.a libraries/libc.a libraries/libm.a -static -o ldak.out
Remember to change the permissions if necessary:
chmod a+x ldak.out
Then you should be able to execute the program via
We have not yet managed to compile the MAC version, so if you manage, please let us know! With the previous MAC version, it was necessary to specify the working directory to allow LDAK to read filenames. Therefore, even if in the current directory, add to the command line –workdir ./