Files
lammps/python/examples/pylammps/mpi4py/hello.py
Richard Berger 2383c31f15 Created PyLammps documentation
Based on material presented during MD Workshop at Temple University in
August 2016.
2016-11-18 23:58:57 -07:00

5 lines
103 B
Python

from mpi4py import MPI
comm=MPI.COMM_WORLD
print("Hello from rank %d of %d" % (comm.rank, comm.size))