set OMP_NUM_THREADS=1 when it is not set