I could not reproduce the issue. Tried on a linux cluster running julia 0.5.0 using workers on a different machine but with identical OS installed. Exact sequence of steps followed:
- Generate Julia package called TestModule. Put your code there:
module TestModule
export test
#test(x) = println(x)
using Formatting
test(x) = println(format(x, commas=true))
end
- Close and restart Julia.
- Add workers on a different machine by running
addprocs(["machineID1";"machineID2"]) - run:
using TestModule
test(1000) #Runs locally, as expected
remotecall_fetch(test, 3,1000) #where 3 is pid of worker on another machine
Everything ran without error. A bunch of my own code/code from other projects that I use in my work consists of modules that use other modules. That hasn’t caused any errors running on my research group’s linux cluster with julia 0.5.0. Based on the error you posted it looks like you’re running windows. Perhaps it’s a windows specific bug or an issue with Windows not playing well with whatever OS is running on your remote worker? Might be worth filing an issue on GitHub.