예제 #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()
예제 #2
0
    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();