Corrected name of arg for benchmarking.

这个提交包含在:
Craig Warren
2016-02-29 16:14:33 +00:00
父节点 717e99018f
当前提交 2af0073beb

查看文件

@@ -66,7 +66,7 @@ def main():
# Process for Taguchi optimisation
if args.opt_taguchi:
if args.benchmarking:
if args.benchmark:
raise GeneralError('Taguchi optimisation should not be used with benchmarking mode')
from gprMax.optimisation_taguchi import run_opt_sim
run_opt_sim(args, numbermodelruns, inputfile, usernamespace)
@@ -79,7 +79,7 @@ def main():
else:
# Mixed mode MPI/OpenMP - MPI task farm for models with each model parallelised with OpenMP
if args.mpi:
if args.benchmarking:
if args.benchmark:
raise GeneralError('MPI should not be used with benchmarking mode')
if numbermodelruns == 1:
raise GeneralError('MPI is not beneficial when there is only one model to run')