used -fopenmp for MacOS