i’m newbie parallel computing and i’m trying to practice it a little bit and when i want to add threads: set JULIA_NUM_THREADS =4
i get this Error and i don’t get if i should add something or what: ERROR: syntax: extra token "JULIA_NUM_THREADS" after end of expression
It looks like you are doing this inside a Julia session. JULIA_NUM_THREADS is an environment variable that needs to be set already at the time you start a new Julia session, it cannot be done afterwards. See also https://docs.julialang.org/en/v1/manual/environment-variables/index.html#JULIA_NUM_THREADS-1.
1 Like
oh i get it it’s working now thanks