Reputation: 729
I changed the number of threads to 4 following the documentation. I know that the maximum number of threads is limited by Sys.CPU_THREADS
which is 8 in my case. But I can't change it to 8. Why is this?
What I am doing:
set JULIA_NUM_THREADS=8
in cmd
There shows no error, but in Julia I still have Threads.nthreads() = 4
Upvotes: 2
Views: 1563
Reputation: 871
If you use Atom you can set the number of threads in the settings of the julia-client package (see screenshot). The default is set to number of cores
which would probably be the four you are experiencing.
Upvotes: 4