Julia environments with multiple workers

package

#1

How is the instantiation of an environment handled in multiple-worker settings? Should I run

using Distributed
@everywhere begin
	using Pkg
	Pkg.activate(".")
end

? I do seem to get some warning messages about access to caches during pre-compilation and such. Should then the activation of the environment be performed only on the process 1?


#2

Bump. Any parallel-computing experts still up?


#3

The best discussion I am aware of is Packages and workers, which links to this issue: https://github.com/JuliaLang/julia/issues/28781. As far as I am aware, Pkg/code-loading does not provide any mechanisms to further streamline the process.


#4

Great find, thanks a million!