你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Fixed bug with checking for existence of MPI environment argument.
这个提交包含在:
@@ -377,7 +377,7 @@ def run_mpi_sim(args, inputfile, usernamespace, optparams=None):
|
|||||||
# N.B Spawned worker flag (--mpi-worker) applied to sys.argv when MPI.Spawn is called
|
# N.B Spawned worker flag (--mpi-worker) applied to sys.argv when MPI.Spawn is called
|
||||||
|
|
||||||
# Get MPI communicator object either through argument or just get comm_world
|
# Get MPI communicator object either through argument or just get comm_world
|
||||||
if args.mpicomm:
|
if hasattr(args, 'mpicomm'):
|
||||||
comm = args.mpicomm
|
comm = args.mpicomm
|
||||||
else:
|
else:
|
||||||
comm = MPI.COMM_WORLD
|
comm = MPI.COMM_WORLD
|
||||||
|
在新工单中引用
屏蔽一个用户