diff options
author | 2018-10-10 21:18:55 -0700 | |
---|---|---|
committer | 2018-10-10 21:18:55 -0700 | |
commit | d3201b0798faa890f53468da1b2258c83a1760b2 (patch) | |
tree | 817f5ef2711d100a306f16f306ae4c7dd004085d /Tools/performance_tests/functions_perftest.py | |
parent | 6b4e7327e1ebe056f28ba2eafdb308c47db6c065 (diff) | |
download | WarpX-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.py | 4 |
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',\ |