don't use openmp at all if params.cores == 1