prepare for openmp