How do I use Plots with MPIClusterManagers in "only workers" mode?

At the moment, your best option for now is to do the plotting on the main process (pid 1). Something like this should work:

G = remotecall_fetch(eval, 2, :G) # pid 2 == MPI rank 0
plot(G)

I’m trying to build some tools that will make this sort of thing easier: https://github.com/simonbyrne/SPMD.jl