I am trying to run my code in parallel (CPU has 8 cores) and wanted to automatically have julia startup with 8 threads. I went to C:\Users\chris\.julia\config and created a startup.jl file that only contains one line:
JULIA_NUM_THREADS = 8
When starting Julia and then checking with Threads.nthreads(), it still only shows 1 thread. I know the file is read upon startup, because it throws an error if I write any nonsense into it.
I also tried ENV["JULIA_NUM_THREADS"] = 8, but that did not work. What am I doing wrong?
