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.
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[:,:];
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.
dev-lang/julia always takes the same amount of time to run regardless of what OMP_NUM_THREADS is set to.
When OMP_NUM_THREADS is set the time required should decrease (assuming one has enough physical cores).