diff options
Diffstat (limited to 'hpc/demo.py')
| -rw-r--r-- | hpc/demo.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hpc/demo.py b/hpc/demo.py new file mode 100644 index 0000000..0adfe17 --- /dev/null +++ b/hpc/demo.py @@ -0,0 +1,6 @@ + +from mpi4py import MPI + +comm = MPI.COMM_WORLD +rank = comm.Get_rank() +size = comm.Get_size() |
