aboutsummaryrefslogtreecommitdiff
path: root/Tools/PerformanceTests/run_automated.py
diff options
context:
space:
mode:
authorGravatar Ryan Sandberg <RSandberg@lbl.gov> 2023-06-12 14:55:43 -0700
committerGravatar GitHub <noreply@github.com> 2023-06-12 21:55:43 +0000
commitceef66ccd87d9eacdbc18f0ae777f6848e060c7f (patch)
treead78ae8cd9e6012d9d39eee20ecc085bc67a6a66 /Tools/PerformanceTests/run_automated.py
parentf6cda9ab07b683b7a2d61065439fe564b112876b (diff)
downloadWarpX-ceef66ccd87d9eacdbc18f0ae777f6848e060c7f.tar.gz
WarpX-ceef66ccd87d9eacdbc18f0ae777f6848e060c7f.tar.zst
WarpX-ceef66ccd87d9eacdbc18f0ae777f6848e060c7f.zip
precommit: make sure isort output is compatible with black (#3981)
* make sure isort output good for black
Diffstat (limited to '')
-rw-r--r--Tools/PerformanceTests/run_automated.py34
1 files changed, 26 insertions, 8 deletions
diff --git a/Tools/PerformanceTests/run_automated.py b/Tools/PerformanceTests/run_automated.py
index 14ce0fed2..58fc02d6a 100644
--- a/Tools/PerformanceTests/run_automated.py
+++ b/Tools/PerformanceTests/run_automated.py
@@ -13,8 +13,12 @@ import shutil
import sys
import time
-from functions_perftest import (extract_dataframe, get_file_content,
- run_batch_nnode, store_git_hash)
+from functions_perftest import (
+ extract_dataframe,
+ get_file_content,
+ run_batch_nnode,
+ store_git_hash,
+)
import git
import pandas as pd
@@ -22,14 +26,28 @@ import pandas as pd
# machine-specific file
if os.getenv("LMOD_SYSTEM_NAME") == 'summit':
machine = 'summit'
- from summit import (executable_name, get_batch_string, get_config_command,
- get_run_string, get_submit_job_command, get_test_list,
- process_analysis, time_min)
+ from summit import (
+ executable_name,
+ get_batch_string,
+ get_config_command,
+ get_run_string,
+ get_submit_job_command,
+ get_test_list,
+ process_analysis,
+ time_min,
+ )
if os.getenv("NERSC_HOST") == 'cori':
machine = 'cori'
- from cori import (executable_name, get_batch_string, get_config_command,
- get_run_string, get_submit_job_command, get_test_list,
- process_analysis, time_min)
+ from cori import (
+ executable_name,
+ get_batch_string,
+ get_config_command,
+ get_run_string,
+ get_submit_job_command,
+ get_test_list,
+ process_analysis,
+ time_min,
+ )
# typical use: python run_automated.py --n_node_list='1,8,16,32' --automated
# Assume warpx, picsar, amrex and perf_logs repos ar in the same directory and