Pkg.instantiate() error with multiple workers on 1 machine

Hi there,

This may well be user error, but thought I’d report it anyway in case there’s more to it.

I’m running a simulation over multiple workers on the same machine. I get an error (see the image below) that indicates a race condition when @everywhere Pkg.instantiate() is called. The more workers, the more likely the error. Removing @everywhere seems to fix it.

Do we chalk this up as user error?

Yes, in general you should only Pkg.instantiate() on a single process.