httomo.utils.log_rank

Contents

httomo.utils.log_rank#

httomo.utils.log_rank(output: Any, comm: mpi4py.MPI.Comm) None[source]#

Log output to log file with the process rank.

Parameters:
  • output (Any) – The item to be printed.

  • comm (Comm) – The comm used to determine the process rank.