diff options
author | 2019-09-12 09:48:17 -0400 | |
---|---|---|
committer | 2019-09-12 09:48:17 -0400 | |
commit | 1e3b0b68a27c653ede0f1b06cf7765e6e7ce6824 (patch) | |
tree | f02c195131ba8786f0670e8b43a813718a26ee7c /Tools/performance_tests/functions_perftest.py | |
parent | 3283e49710a91b90e78e6214ec19b31bf73cd658 (diff) | |
download | WarpX-1e3b0b68a27c653ede0f1b06cf7765e6e7ce6824.tar.gz WarpX-1e3b0b68a27c653ede0f1b06cf7765e6e7ce6824.tar.zst WarpX-1e3b0b68a27c653ede0f1b06cf7765e6e7ce6824.zip |
more checks and cleaning in automaated performance tests
Diffstat (limited to 'Tools/performance_tests/functions_perftest.py')
-rw-r--r-- | Tools/performance_tests/functions_perftest.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Tools/performance_tests/functions_perftest.py b/Tools/performance_tests/functions_perftest.py index ed6bc1969..f3f3748a9 100644 --- a/Tools/performance_tests/functions_perftest.py +++ b/Tools/performance_tests/functions_perftest.py @@ -57,7 +57,6 @@ def run_batch(run_name, res_dir, bin_name, config_command, architecture='knl',\ shutil.rmtree(res_dir) os.makedirs(res_dir) # Copy files to res_dir - # Copy files to res_dir cwd = os.environ['WARPX'] + '/Tools/performance_tests/' bin_dir = cwd + 'Bin/' shutil.copy(bin_dir + bin_name, res_dir) @@ -95,10 +94,6 @@ def run_batch(run_name, res_dir, bin_name, config_command, architecture='knl',\ return 0 def run_batch_nnode(test_list, res_dir, bin_name, config_command, batch_string, submit_job_command): - #if machine == 'cori': - # from cori import get_batch_string, get_run_string - #if machine == 'summit': - # from summit import get_batch_string, get_run_string # Clean res_dir if os.path.exists(res_dir): shutil.rmtree(res_dir, ignore_errors=True) @@ -111,8 +106,6 @@ def run_batch_nnode(test_list, res_dir, bin_name, config_command, batch_string, for count, current_test in enumerate(test_list): shutil.copy(cwd + current_test.input_file, res_dir) - # run_string = get_run_string(current_test, architecture, n_node, count, bin_name, runtime_param_list) - # batch_string += run_string batch_file = 'batch_script.sh' f_exe = open(batch_file,'w') f_exe.write(batch_string) |