Closed nick-youngblut closed 3 years ago
Yes, this error comes from the Distributed
package and is "by design". If you addprocs
with that package, the added workers don't automatically inherit the parent environment (including all packages), but have to explicitly be asked to load packages themselves. This is mildly annoying and will hopefully be changed at some point.
If I run the example code in a script on the
HMP_SRA_gut_small.tsv
dataset (with a couple of random test metadata columns:HMP_SRA_gut_small_meta.tsv
), I get the following error when runninglearn_network()
with >1 proc set viaaddprocs()
:This appears to occur if I call
addprocs()
afterusing FlashWeave