You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a project where I installed MyPackage and I can say
julia --project -e "using MyPackage"
the following does only work when I manually activate the environment:
using Distributed
using MyPackage # worksaddprocs(3)
@everywhereusing Pkg; Pkg.activate(".") # requiredusing MyPackage
...end
I would suggest that workers inherit the environment that is active when they are added with addprocs. Should there be any calls to Pkg.activate after addprocs they have to be manually performed by the user on all workers.
The text was updated successfully, but these errors were encountered:
If I have a project where I installed
MyPackage
and I can sayjulia --project -e "using MyPackage"
the following does only work when I manually activate the environment:
I would suggest that workers inherit the environment that is active when they are added with
addprocs
. Should there be any calls toPkg.activate
afteraddprocs
they have to be manually performed by the user on all workers.The text was updated successfully, but these errors were encountered: