Mirror of libdai, official page here: http://staff.science.uva.nl/~jmooij1/libDAI/