Core emd library for embarrassingly distributed computations.