The Real Download Page ;)

Thanks for your details, I will resist the urge to sell them to marketing companies. To avoid having to enter your details again, on the previous page you can click the link below the sign-up box.

Note that there are two LINUX versions, both pre-compiled using Intel MKL libraries. In general, I recommend using the serial version, but if you have multiple processors available, the parallel version can be bit faster (but the speed-up is far from linear, and be careful you don't drown your cluster!).

To run either version, simply download and unzip the executable, open a terminal window, then type the name of the file, for example
or if you are in the same folder as the executable, you can simply type
If compatible with your system, this should produce the LDAK welcome screen.

If your computer tells you that you do not have permission to run the file, then first run
chmod a+x ldak5.linux

Should you wish to compile a LINUX version yourself, please download and unzip the source code, then the basic command (from within the source code folder) is
gcc -o ldak5.linux ldak.c libqsopt.linux.a -lblas -llapack -lm -lz
chmod a+x ldak5.linux

Note that the pre-compiled versions use the Intel MKL Libraries, so are likely to be faster than a self-compiled version. The command I used was
gcc -O3 -std=gnu99 -pedantic ldak.c -o ldak5.linux libqsopt.linux.a -static -Wl,--no-as-needed -L mkl_lib -Wl,--start-group -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread -lm -ldl -I mkl_include libz.a -lc -DMKL_LP64 -m64

We also provide a MAC version (kindly compiled by Ben Anderson). Again, hopefully you can run this simply by downloading and unzipping the executable, opening a terminal window and typing
(if you get a permission error, then first use chmod a+x ldak5.mac)

To compile a MAC version yourself, please download and unzip the source code, then (from within that folder) type
gcc -o ldak5.mac ldak.c libqsopt.mac.a -lblas -llapack -lm -lz
chmod a+x ldak5.mac
Note that the compilation requires xcode, to install this type
xcode-select --install

If you have any problems, email me at doug<dot>speed<at>ucl<dot>ac<dot>uk

Click here to download LDAK5.linux (serial)
Click here to download LDAK5.linux (parallel)
Click here to download LDAK5.mac
Click here to download source code for LDAK5
Click here to download the test datasets