Changing Threads.nthreads within Atom

I’m trying to change the number of threads allocated to Julia via


For some reason, this appears to work when I launch Julia from command line: 14%20AM

but does not does not seem to work when I’m using Atom.

I’ve stopped and restarted Julia within Atom, but this does not seem to help.

Note also that by default, Julia launched from command line is v1.1.0, while Atom is using v1.2.0. As far as I can tell, this shouldn’t actually make a difference?

Juno has its own setting for that (Julia Options > Number of Threads), which, by default, overrides the global env variable.



Oddly, it seems that after you reset the number of threads, you need to stop and start Julia twice within Atom to have it register the new thread option.

1 Like