Files
lammps/python/examples/pylammps/mpi4py/hello.py

5 lines
103 B
Python

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