I find that
@mpi_do from MPIClusterManagers.jl is great with Jupiter notebooks. However, I’m not able to plot anything from within
using MPIClusterManagers using Distributed manager = MPIManager(np = 4) addprocs(manager) @mpi_do manager begin using MPI using Plots comm = MPI.COMM_WORLD rank = MPI.Comm_rank(comm) data = 1 G = MPI.Gather(data, 0, comm) if rank == 0 plot(G) end end
I suspect this is related to this issue, but I’m not sure. Any workaround?