Am 20.06.2019 um 22:22 schrieb Logan Kelly:
flush did not seem to work inside an mpi block, but I will try
again.
I am just wanting the computer to print something ever so often, so I
can tell if it is still progressing.
Printing in general should just work,
doesn't it for you? In principle
you could also cook up something where process ("rank") n sends a number
to the root process (rank 0) via mpisend(), and that number represents a
code for a particular message to be printed by the rank-0 process. But
probably overkill.
hth,
sven