Files
lammps-gran-kokkos/python/examples/ipython/mpi4py/hello.py
2024-12-12 23:27:07 -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))