How many threads does Pluto use vs Threads.nthreads()
?
#2087
-
If I start Julia with
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It's related to this code: Lines 153 to 170 in f03f73c Why this is the case only Fons knows. Can you try overriding it by setting the environment variable |
Beta Was this translation helpful? Give feedback.
-
The flags that you give to You can set parameters for notebook processes with keyword arguments to Pluto.run(threads="16", compile="0") |
Beta Was this translation helpful? Give feedback.
The flags that you give to
julia
only apply to Pluto's server, not to the notebook processes that it spawns. So if you runThreads.nthreads()
in a notebook, it is giving you the number of threads of the notebook process, not the server process.You can set parameters for notebook processes with keyword arguments to
Pluto.run
, e.g.