diff options
author | 2019-09-12 17:11:24 -0700 | |
---|---|---|
committer | 2019-09-12 17:11:24 -0700 | |
commit | e6eadd3da2ec11003767140cbee2d6491341dba7 (patch) | |
tree | f08e1131b6dc42e41d043111207c41861fd6bbbf /Tools/performance_tests/run_automated.py | |
parent | 07d57aa353d6453d079e5b44ee2d7404556ccec1 (diff) | |
download | WarpX-e6eadd3da2ec11003767140cbee2d6491341dba7.tar.gz WarpX-e6eadd3da2ec11003767140cbee2d6491341dba7.tar.zst WarpX-e6eadd3da2ec11003767140cbee2d6491341dba7.zip |
Fix newly introduced EOL
Diffstat (limited to 'Tools/performance_tests/run_automated.py')
-rw-r--r-- | Tools/performance_tests/run_automated.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/performance_tests/run_automated.py b/Tools/performance_tests/run_automated.py index fd771faac..a6a05fb54 100644 --- a/Tools/performance_tests/run_automated.py +++ b/Tools/performance_tests/run_automated.py @@ -4,7 +4,7 @@ import pandas as pd from functions_perftest import store_git_hash, get_file_content, \ run_batch_nnode, extract_dataframe -# Get name of supercomputer and import configuration functions from +# Get name of supercomputer and import configuration functions from # machine-specific file if os.getenv("LMOD_SYSTEM_NAME") == 'summit': machine = 'summit' @@ -23,7 +23,7 @@ if os.getenv("NERSC_HOST") == 'cori': # requirements: # - python packages: gitpython and pandas -# - AUTOMATED_PERF_TESTS: environment variables where warpx, +# - AUTOMATED_PERF_TESTS: environment variables where warpx, # amrex and picsar are installed ($AUTOMATED_PERF_TESTS/warpx etc.) # - SCRATCH: environment variable where performance results are written. # This script will create folder $SCRATCH/performance_warpx/ @@ -99,7 +99,7 @@ if args.automated == True: push_on_perf_log_repo = False pull_3_repos = True recompile = True - if machine == 'summit': + if machine == 'summit': compiler = 'pgi' architecture = 'gpu' @@ -154,7 +154,7 @@ if args.mode == 'run': git_repo.pull() git_repo = git.cmd.Git( warpx_dir ) git_repo.pull() - + # Copy WarpX/GNUmakefile to current directory and recompile # with specific options for automated performance tests. # This way, performance test compilation does not mess with user's @@ -207,7 +207,7 @@ if args.mode == 'run': run_string = get_run_string(current_run, architecture, n_node, count, bin_name, runtime_param_string) batch_string += run_string batch_string += 'rm -rf plotfiles lab_frame_data diags\n' - + submit_job_command = get_submit_job_command() # Run the simulations. run_batch_nnode(test_list_n_node, res_dir, bin_name, config_command, batch_string, submit_job_command) |