-
Notifications
You must be signed in to change notification settings - Fork 22
Home
-
Up to my knowledge (@amartinhuertas), at present, the unique way of "debugging"
MPI.jlparallel programs is "print statement debugging". We have observed that messages printed to stdout usingprintlnby the different Julia REPLs running at different MPI tasks are not atomic, but broken/intermixed stochastically. However, if you doprint("something\n")you are more likely to get it to print to a single line thanprintln("something")(Thanks to @symonbyrne for this trick, it is so useful). More serious/definitive solutions are being discussed in this issue ofMPI.jl. -
Some peoples have used
tmpi(https://github.com/Azrael3000/tmpi) for running multiple sessions interactively, and we could try using the@mpi_domacro inMPIClusterManagers(I have not explored neither of them). If am not wrong, I guess that the first alternative may involve multiplegdbdebuggers running at different terminal windows, and a deep knownledge of the low-level C code generated byJulia(see https://docs.julialang.org/en/v1/devdocs/debuggingtips/ for more details)