Thanks for your quick answer. I will try the steps you suggest.
However I am going on holidays for two weeks so this will probably wait at least that long.
I can just answer to point 3 and 4 :
- MKL_NUM_THREADS is set to 1 at the beginning of my script (before any other import) and OMP and NUMBA num threads are not set explicitly.--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users...@continuum.io.
To post to this group, send email to numba...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/da3cd73b-dfe9-4f64-a548-76703c78ffa8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/62087eb2-6e9c-726e-dd09-804682acc4ad%40gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
I think I have found the problem. The parallel ufunc launcher is not releasing the GIL. My current minimal patch have fixed the issue with using `print()` and ctypes callback. I will clean it up and open a PR soon.
On Fri, Jul 22, 2016 at 11:14 AM Siu Kwan Lam <s...@continuum.io> wrote:
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/4mrs36qgrvawn22m3igmcxcq.1469214822170%40email.android.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
8 threads (matching the processor cores)
Are those real cores or virtual (hyperthreaded) cores? Notice that if they’re virtual cores, it is better to use the number of threads the same number of real cores.
Hyperthreading is helpful for operations that are not CPU-intensive (like IO), but when running a cpu-intensive algorithm, you should aim for the real cores.
--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users+unsubscribe@continuum.io.
To post to this group, send email to numba...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/CAFbRgGharCCFC9t6Y3rFsJYhPBR1DMD7iYOtsRHBju6mY0cYGw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Numba Public Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numba-users+unsubscribe@continuum.io.
To post to this group, send email to numba...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/numba-users/16bf278d-3104-f50a-2d8e-3a39467c41c5%40gmail.com.