Utility

MCIntegration.MCUtility.StopWatchType
StopWatch(start, interval, callback)

Initialize a stopwatch.

Arguments

  • start::Float64: initial time (in seconds)
  • interval::Float64 : interval to click (in seconds)
  • callback : callback function after each click (interval seconds)
source
MCIntegration.MCUtility.MPIbcastMethod
function MPIbcast(data)

Broadcast data from MPI root to other nodes. data can be an array or a scalar. The root node its own data, and other nodes return the broadcasted data from the root.

source
MCIntegration.MCUtility.MPIreduceFunction
function MPIreduce(data, op = MPI.SUM)

Reduce data from MPI workers to root with the operation op. data can be an array or a scalar. The root node returns the reduced data with the operation op, and other nodes return their own data.

source