summaryrefslogtreecommitdiff
path: root/hpc
diff options
context:
space:
mode:
Diffstat (limited to 'hpc')
-rw-r--r--hpc/demo.py6
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()