Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/p/y/pythia-0.8.1.11/mpi/Communicator.py   pythia(Download)
    def include(self, included):
        from mpi import MPI_Comm_create, MPI_COMM_NULL
        grp = self.group().include(included)
        handle = MPI_Comm_create(self._handle, grp.handle())
        if handle is MPI_COMM_NULL:
    def exclude(self, excluded):
        from mpi import MPI_Comm_create, MPI_COMM_NULL
        grp = self.group().exclude(excluded)
        handle = MPI_Comm_create(self._handle, grp.handle())
        if handle is MPI_COMM_NULL: