setting OMP_NUM_THREADS in example call