pass OMP_NUM_THREADS as argument