Also, instead of trying to write a MPI program from scratch (especially if you are new to Julia), I would recommend starting from an example from the docs here Hello world · MPI.jl and progressively modify things till you get it to do what you want.
Also, instead of trying to write a MPI program from scratch (especially if you are new to Julia), I would recommend starting from an example from the docs here Hello world · MPI.jl and progressively modify things till you get it to do what you want.