From 2af0073beb4bb298ab59664e8e9b4fde08e4d1a0 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Mon, 29 Feb 2016 16:14:33 +0000 Subject: [PATCH] Corrected name of arg for benchmarking. --- gprMax/gprMax.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gprMax/gprMax.py b/gprMax/gprMax.py index 89622493..ae3492f8 100644 --- a/gprMax/gprMax.py +++ b/gprMax/gprMax.py @@ -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')