# L-4 MCS 572 Wed 18 Jan 2023 : mpi_hello_world.jl """ Copied from the JuliaParallel/MPI.jl docs/examples. """ using MPI MPI.Init() comm = MPI.COMM_WORLD myid = MPI.Comm_rank(comm) size = MPI.Comm_size(comm) print("Hello from $myid of $size.\n") MPI.Barrier(comm)