aboutsummaryrefslogtreecommitdiff
path: root/Tools/performance_tests/run_automated.py
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-02 12:39:33 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-02 12:39:33 -0700
commiteb788358090cd507a06f7c9425e05b8d3a0a6989 (patch)
treeafcbfcc1b1fb871e809dd3117db523dce0530bc2 /Tools/performance_tests/run_automated.py
parent6b67565131a0fcd6aa4981a74f46385339454925 (diff)
downloadWarpX-eb788358090cd507a06f7c9425e05b8d3a0a6989.tar.gz
WarpX-eb788358090cd507a06f7c9425e05b8d3a0a6989.tar.zst
WarpX-eb788358090cd507a06f7c9425e05b8d3a0a6989.zip
more functions to machine-dependent file
Diffstat (limited to 'Tools/performance_tests/run_automated.py')
-rw-r--r--Tools/performance_tests/run_automated.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/performance_tests/run_automated.py b/Tools/performance_tests/run_automated.py
index ed827a8bf..68fc4ff23 100644
--- a/Tools/performance_tests/run_automated.py
+++ b/Tools/performance_tests/run_automated.py
@@ -7,12 +7,14 @@ from functions_perftest import store_git_hash, get_file_content, \
run_batch_nnode, extract_dataframe
print(os.environ["LMOD_SYSTEM_NAME"])
+
if os.environ["LMOD_SYSTEM_NAME"] == 'summit':
machine = 'summit'
- from summit import executable_name
+ from summit import executable_name, process_analysis
if os.environ["$NERSC_HOST"] == 'cori':
machine = 'cori'
- from cori import executable_name
+ from cori import executable_name, process_analysis
+
print("machine = " + machine)
# typical use: python run_automated.py --n_node_list='1,8,16,32' --automated
@@ -215,7 +217,7 @@ if args.mode == 'run':
runtime_param_string += ' max_step=' + str( current_run.n_step )
runtime_param_list.append( runtime_param_string )
# Run the simulations.
- run_batch_nnode(test_list_n_node, res_dir, bin_name, config_command,\
+ run_batch_nnode(test_list_n_node, res_dir, bin_name, config_command, machine\
architecture=args.architecture, Cname=module_Cname[args.architecture], \
n_node=n_node, runtime_param_list=runtime_param_list)
os.chdir(cwd)