Openmp version of ldacgs