A parallel implementation of look-up tables to evaluate dipolar potentials