示例#1
0
def barrier_all():
    """ Perform a MPI barrier synchronization across the whole MPI run.

    Note:
        Does nothing in in non-MPI builds.
    """
    if _hoomd.is_MPI_available():
        _hoomd.mpi_barrier_world()
    def barrier_all(self):
        """Perform a MPI barrier synchronization across all ranks.

        Note:
            Does nothing in builds with ENABLE_MPI=off.
        """
        if hoomd.version.mpi_enabled:
            _hoomd.mpi_barrier_world()
示例#3
0
    def barrier_all(self):
        """ Perform a MPI barrier synchronization across the whole MPI run.

        Note:
            Does nothing in in non-MPI builds.
        """
        if hoomd.version.mpi_enabled:
            _hoomd.mpi_barrier_world();
示例#4
0
文件: comm.py 项目: kolbt/hoomd-blue
def barrier_all():
    """ Perform a MPI barrier synchronization across the whole MPI run.

    Note:
        Does nothing in in non-MPI builds.
    """
    if _hoomd.is_MPI_available():
        _hoomd.mpi_barrier_world();