Created
August 23, 2019 19:19
-
-
Save harshityadav95/db494a3a66e36f73695104b7b53e29ae to your computer and use it in GitHub Desktop.
Python MPI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mpi4py import MPI | |
comm = MPI.COMM_WORLD | |
rank = comm.Get_rank() | |
print('My rank is ',rank) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment