Workflow tips for MPI-based code


I would be grateful if someone can help to speed-up my workflow when developing code based on MPI.

The problem is that the code needs to be executed from the terminal:

$ mpirun -np 5 julia my_julia_mpi_code.jl

which makes difficult (perhaps impossible?) to use Revise and the other workflow tips provided in the manual The result is that each execution has a lot of latency, which affects productivity.

I find Revise extremely useful and it is a pity that I cannot use it in this context.

What do you use in this situation?

Do you try to precompile (e.g., via PackageCompiler or precompile statements) as much as possible? or you have perhaps found a way of using Revise?

Thanks for helping!