:mod:`pytmosph3r.mpi` ===================== .. py:module:: pytmosph3r.mpi .. autoapi-nested-parse:: Module for wrapping MPI functions from TauREx 3 (future use). Module Contents --------------- .. data:: comm .. function:: nprocs() Gets number of processes or returns 1 if mpi is not installed :returns: Rank of process or 1 if MPI is not installed :rtype: int .. function:: allgather(value) .. function:: broadcast(array, rank=0) .. function:: get_rank() Gets rank or returns 0 if mpi is not installed :returns: Rank of process or 0 if MPI is not installed :rtype: int .. function:: barrier() Gets rank or returns 0 if mpi is not installed :returns: Rank of process or 0 if MPI is not installed :rtype: int .. function:: only_master_rank(f) A decorator to ensure only the master MPI rank can run it .. function:: info(msg)