aboutsummaryrefslogtreecommitdiff
path: root/Tools/performance_tests/functions_perftest.py
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2019-09-12 17:11:24 -0700
committerGravatar Axel Huebl <axel.huebl@plasma.ninja> 2019-09-12 17:11:24 -0700
commite6eadd3da2ec11003767140cbee2d6491341dba7 (patch)
treef08e1131b6dc42e41d043111207c41861fd6bbbf /Tools/performance_tests/functions_perftest.py
parent07d57aa353d6453d079e5b44ee2d7404556ccec1 (diff)
downloadWarpX-e6eadd3da2ec11003767140cbee2d6491341dba7.tar.gz
WarpX-e6eadd3da2ec11003767140cbee2d6491341dba7.tar.zst
WarpX-e6eadd3da2ec11003767140cbee2d6491341dba7.zip
Fix newly introduced EOL
Diffstat (limited to 'Tools/performance_tests/functions_perftest.py')
-rw-r--r--Tools/performance_tests/functions_perftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/performance_tests/functions_perftest.py b/Tools/performance_tests/functions_perftest.py
index 67622317a..8bc1000d7 100644
--- a/Tools/performance_tests/functions_perftest.py
+++ b/Tools/performance_tests/functions_perftest.py
@@ -7,7 +7,7 @@ import git
# Each instance of this class contains information for a single test.
class test_element():
- def __init__(self, input_file=None, n_node=None, n_mpi_per_node=None,
+ def __init__(self, input_file=None, n_node=None, n_mpi_per_node=None,
n_omp=None, n_cell=None, n_step=None, max_grid_size=None,
blocking_factor=None):
self.input_file = input_file
@@ -103,7 +103,7 @@ def run_batch_nnode(test_list, res_dir, bin_name, config_command, batch_string,
bin_dir = cwd + 'Bin/'
shutil.copy(bin_dir + bin_name, res_dir)
os.chdir(res_dir)
-
+
for count, current_test in enumerate(test_list):
shutil.copy(cwd + current_test.input_file, res_dir)
batch_file = 'batch_script.sh'