你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Corrected instance of numbermodelruns variable name change to args.n
这个提交包含在:
@@ -118,7 +118,7 @@ def run_main(args):
|
|||||||
else:
|
else:
|
||||||
# Mixed mode MPI with OpenMP or CUDA - MPI task farm for models with each model parallelised with OpenMP (CPU) or CUDA (GPU)
|
# Mixed mode MPI with OpenMP or CUDA - MPI task farm for models with each model parallelised with OpenMP (CPU) or CUDA (GPU)
|
||||||
if args.mpi:
|
if args.mpi:
|
||||||
if numbermodelruns == 1:
|
if args.n == 1:
|
||||||
raise GeneralError('MPI is not beneficial when there is only one model to run')
|
raise GeneralError('MPI is not beneficial when there is only one model to run')
|
||||||
run_mpi_sim(args, inputfile, usernamespace)
|
run_mpi_sim(args, inputfile, usernamespace)
|
||||||
|
|
||||||
|
在新工单中引用
屏蔽一个用户