set num_thread=1 if compiled without -openmp
Merge branch 'Toronto' of 172.16.21.103:~/haoran/cubep3m/ into Toronto