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

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

src/p/y/pythia-0.8.1.11/elc/SynchronizedExchanger.py   pythia(Download)
    def exchangeBoundary(self, communicator=None):
        if communicator is None:
            import mpi
            communicator = mpi.world()
 
            # other processors can skip this exchange
            self._info.log("rank %d: innocent bystander" % rank)
            import mpi
            if communicator == mpi.world():
                communicator.barrier()
    def exchangeVelocities(self, communicator=None):
        import pyre
 
        if communicator is None:
            import mpi
            # other processors can skip this exchange
            self._info.log("rank %d: innocent bystander" % rank)
            import mpi
            if communicator == mpi.world():
                communicator.barrier()
    def exchangePressure(self, communicator=None):
 
        if communicator is None:
            import mpi
            world = mpi.world()

src/p/y/pythia-0.8.1.11/pulse/PressurePulse.py   pythia(Download)
    def applyBoundaryConditions(self):
        Solver.applyBoundaryConditions(self)
 
        import mpi
        rank = mpi.world().rank

src/p/y/pythia-0.8.1.11/elc/Exchanger.py   pythia(Download)
    def initialize(self, communicator=None):
        if communicator is None:
            import mpi
            communicator = mpi.world()
 

src/c/h/cheshire3-1.1.2/cheshire3/parallel/mpiTaskManager.py   cheshire3(Download)
 
try:
    import mpi
except ImportError:
    # Don't need it to import, just to use (???)

src/c/h/cheshire3-1.1.2/cheshire3/grid/mpiProtocolHandler.py   cheshire3(Download)
 
try:
    import mpi
except ImportError:
    # Don't need it to import, just to use (???)

src/a/p/ape-HEAD/ape/timings/communication/__init__.py   ape(Download)
"""
 
import mpi
import gpu
import master

src/c/h/cheshire3-HEAD/cheshire3/parallel/mpiTaskManager.py   cheshire3(Download)
 
try:
    import mpi
except ImportError:
    # Don't need it to import, just to use (???)

src/c/h/cheshire3-HEAD/cheshire3/grid/mpiProtocolHandler.py   cheshire3(Download)
 
try:
    import mpi
except ImportError:
    # Don't need it to import, just to use (???)

src/p/y/PyOP2-HEAD/pyop2/petsc_base.py   PyOP2(Download)
from logger import debug, warning
from versioning import CopyOnWrite, modifies, zeroes
import mpi
from mpi import collective
 

src/p/y/pyina-HEAD/pyina/__init__.py   pyina(Download)
 
# mappers
import mpi
 
# strategies

  1 | 2  Next