Is there a macro similar to @distributed for
for pmap
(or some pmapreduce
, which I’d love to have in official repos, btw), that takes care of making sure all functions and variables and everything is available at the worker?
I enjoy that one can (almost) just sprinkle @distributed
over a module and whenever the caller of a function has Distributed
loaded and some workers added, the code is executed on all workers. I’m looking for a similarly low-friction way to do this with load balancing pmap
.