aboutsummaryrefslogtreecommitdiff
path: root/Tools/performance_tests/functions_perftest.py
diff options
context:
space:
mode:
authorGravatar mthevenet <mthevenet@lbl.gov> 2018-10-10 21:18:55 -0700
committerGravatar mthevenet <mthevenet@lbl.gov> 2018-10-10 21:18:55 -0700
commitd3201b0798faa890f53468da1b2258c83a1760b2 (patch)
tree817f5ef2711d100a306f16f306ae4c7dd004085d /Tools/performance_tests/functions_perftest.py
parent6b4e7327e1ebe056f28ba2eafdb308c47db6c065 (diff)
downloadWarpX-d3201b0798faa890f53468da1b2258c83a1760b2.tar.gz
WarpX-d3201b0798faa890f53468da1b2258c83a1760b2.tar.zst
WarpX-d3201b0798faa890f53468da1b2258c83a1760b2.zip
minor
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 98d8da278..fe2290c27 100644
--- a/Tools/performance_tests/functions_perftest.py
+++ b/Tools/performance_tests/functions_perftest.py
@@ -24,7 +24,7 @@ def run_batch_nnode(test_list, res_dir, bin_name, config_command, architecture='
batch_string += '#SBATCH -q regular\n'
batch_string += '#SBATCH -e error.txt\n'
batch_string += '#SBATCH --account=m2852\n'
-
+
for count, test_item in enumerate(test_list):
# test_item reads [input_file, int n_mpi, int n_omp]
input_file = test_item[0];
@@ -55,7 +55,7 @@ def run_batch_nnode(test_list, res_dir, bin_name, config_command, architecture='
f_exe.write(batch_string)
f_exe.close()
os.system('chmod 700 ' + bin_name)
- os.system(config_command + 'sbatch ' + batch_file + ' >> ' + cwd + 'log_jobids_tmp.txt')
+ os.system(config_command + 'sbatch ' + batch_file + ' >> ' + cwd + 'log_jobids_tmp_' + str(n_node) + '.txt')
return 0
def run_batch(run_name, res_dir, bin_name, config_command, architecture='knl',\