astroumd / lmtoy

Toy Codes for LMT
https://www.astro.umd.edu/~teuben/LMT/lmtoy/html/
0 stars 2 forks source link

python multi-core slow? #10

Open teuben opened 3 years ago

teuben commented 3 years ago

This is still a mystery: make bench 853.92user 13.03system 3:12.99elapsed 449%CPU whereas OMP_NUM_THREADS=1 make bench gives 149.48user 1.66system 2:31.27elapsed 99%CPU

For the record, this is on 11th Gen Intel(R) Core(TM) i5-1135G7

teuben commented 3 years ago

An interesting observation. The command

   conda install -c conda-forge openmp

apparently normalizes python again.