你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Corrected name of arg for benchmarking.
这个提交包含在:
@@ -66,7 +66,7 @@ def main():
|
|||||||
|
|
||||||
# Process for Taguchi optimisation
|
# Process for Taguchi optimisation
|
||||||
if args.opt_taguchi:
|
if args.opt_taguchi:
|
||||||
if args.benchmarking:
|
if args.benchmark:
|
||||||
raise GeneralError('Taguchi optimisation should not be used with benchmarking mode')
|
raise GeneralError('Taguchi optimisation should not be used with benchmarking mode')
|
||||||
from gprMax.optimisation_taguchi import run_opt_sim
|
from gprMax.optimisation_taguchi import run_opt_sim
|
||||||
run_opt_sim(args, numbermodelruns, inputfile, usernamespace)
|
run_opt_sim(args, numbermodelruns, inputfile, usernamespace)
|
||||||
@@ -79,7 +79,7 @@ def main():
|
|||||||
else:
|
else:
|
||||||
# Mixed mode MPI/OpenMP - MPI task farm for models with each model parallelised with OpenMP
|
# Mixed mode MPI/OpenMP - MPI task farm for models with each model parallelised with OpenMP
|
||||||
if args.mpi:
|
if args.mpi:
|
||||||
if args.benchmarking:
|
if args.benchmark:
|
||||||
raise GeneralError('MPI should not be used with benchmarking mode')
|
raise GeneralError('MPI should not be used with benchmarking mode')
|
||||||
if numbermodelruns == 1:
|
if numbermodelruns == 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')
|
||||||
|
在新工单中引用
屏蔽一个用户