Skip to content

Commit

Permalink
MPI.comm_world.rank
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Mar 15, 2022
1 parent b0a42c3 commit 8f11eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/coupled/main02_heat.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
vis_T_filename, sol_T_filename,
sol_u_filename)

my_rank = MPI.rank(MPI.comm_world)
my_rank = MPI.comm_world.rank

# Read mesh and boundary data from file
mesh, ignored_domain_parts, boundary_parts = meshiowrapper.read_hdf5_mesh(mesh_filename)
Expand Down

0 comments on commit 8f11eab

Please sign in to comment.