dev-lang/julia-1.6.0 fails to work with OMP_NUM_THREADS (nothing happens at all) built with USE=system-llvm and without. dev-lang/julia-bin-1.6.0 does work with OMP_NUM_THREADS properly. It doesn't matter what eselect blas and/or eselect lapack is set to --the results are the same. Reproducible: Always Steps to Reproduce: 1. Install =dev-lang/julia-1.6.0. 2. Execute Julia code such as: n = 3_000; A = rand(n,n); B = A[:,:]; C=similar(A); @time mul!(C,A,B) Timings differ (correctly) if OMP_NUM_THREADS are set to different values before running julia1.6 in dev-lang/julia-bin. dev-lang/julia does not appear to honour OMP_NUM_THREADS. Actual Results: dev-lang/julia always takes the same amount of time to run regardless of what OMP_NUM_THREADS is set to. Expected Results: When OMP_NUM_THREADS is set the time required should decrease (assuming one has enough physical cores).
Let's see whether USE_POLLY:=1 USE_POLLY_OPENMP:=1 enables the openmp support in julia that you are describing.