Added some debug for alternate MPI method.

这个提交包含在:
Craig Warren
2018-02-27 16:52:51 +00:00
父节点 fb8dd26c3f
当前提交 d49ffd9988

查看文件

@@ -499,7 +499,7 @@ def run_mpi_alt_sim(args, inputfile, usernamespace, optparams=None):
comm = MPI.COMM_WORLD
size = comm.Get_size() # total number of processes
rank = comm.Get_rank() # rank of this process
print('gprMax rank {}'.format(rank))
print('gprMax MPI comm ({}) - world size: {}, rank: {}'.format(comm, size, rank))
status = MPI.Status() # get MPI status object
hostname = MPI.Get_processor_name() # get name of processor/host