pub fn is_root() -> PyResult<bool>
Expand description
Check if the current MPI process is the root process
This can be combined with laddu.mpi.using_mpi()
to ensure valid results are only
returned from the root rank process on the condition that MPI is enabled.
ยงSee Also
laddu.mpi.use_mpi laddu.mpi.using_mpi