OpenMP parallelization for sa_emin