diff --git a/APPS_CPU/README.md b/APPS_CPU/README.md new file mode 100644 index 0000000..c04ed63 --- /dev/null +++ b/APPS_CPU/README.md @@ -0,0 +1,8 @@ +# APPS_CPU - SETI@Home MultiBeam Applications + + This directory contains Linux versions of the CPU MultiBeam V8 apps that I have collected from various sources. + +## Known Issues +* I have not yet been successful of compiling a working version of any app in the latest release of Ubuntu. +* These are only apps that I have personally tested, so apps for platforms I don't have are not represented here. + diff --git a/APPS_GPU/README.md b/APPS_GPU/README.md new file mode 100644 index 0000000..1c029c7 --- /dev/null +++ b/APPS_GPU/README.md @@ -0,0 +1,8 @@ +# APPS_GPU - SETI@Home MultiBeam Applications + + This directory contains Linux versions of the GPU MultiBeam V8 apps that I have collected from various sources. + +## Known Issues +* I have not yet been successful of compiling a working version of any app in the latest release of Ubuntu. +* These are only apps that I have personally tested, so apps for platforms I don't have are not represented here. + diff --git a/APPS_REF/README.md b/APPS_REF/README.md new file mode 100644 index 0000000..a53c473 --- /dev/null +++ b/APPS_REF/README.md @@ -0,0 +1,7 @@ +# APPS_REF - SETI@Home MultiBeam Applications - Stock Reference App + + This directory contains Linux versions of the current stock CPU MultiBeam V8 app. It is recommended to use this app to generate reference results to assure you are verifying integrity against a known standard. + +## Known Issues +* This was the stock app as of 23-Nov-18. I will update as I become aware of a newer stock CPU app. + diff --git a/APPS_REF/REF_RESULTS/README.md b/APPS_REF/REF_RESULTS/README.md new file mode 100644 index 0000000..90a3e6f --- /dev/null +++ b/APPS_REF/REF_RESULTS/README.md @@ -0,0 +1,7 @@ +# REF_RESULTS - Reference results for each provided WU + + These are the results I have generated using the stock CPU app to process all WUs provided with the project. If you ever use a new WU with benchMT, it will produce a reference file and store here for comparision to the target apps used to process it. + +## Known Issues +* These results were generated with the stock CPU app as of 23-Nov-18. I will update as I become aware of a newer stock CPU app. In your installation, you can always manually replace the current APPS_REF with the latest from the project. + diff --git a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0009_v8.wu.txt b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0009_v8.wu.txt index 5b96f47..7efde68 100644 --- a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0009_v8.wu.txt +++ b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0009_v8.wu.txt @@ -1,5 +1,5 @@ shmget in attach_shmem: Invalid argument -12:30:26 (6044): Can't set up shared mem: -1. Will run in standalone mode. +17:53:14 (9172): Can't set up shared mem: -1. Will run in standalone mode. setiathome_v8 8.00 Revision: 3290 g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) libboinc: BOINC 7.7.0 @@ -12,7 +12,7 @@ Optimal function choices: -------------------------------------------------------- v_BaseLineSmooth (no other) v_vGetPowerSpectrumUnrolled2 0.000034 0.00000 - avx_ChirpData_d 0.002852 0.00000 + avx_ChirpData_d 0.002795 0.00000 AK SSE folding 0.000512 0.00000 Flopcounter: 2240738656054.034668 @@ -22,4 +22,4 @@ Autocorr count: 0 Pulse count: 1 Triplet count: 0 Gaussian count: 0 -12:35:18 (6044): called boinc_finish(0) +17:58:11 (9172): called boinc_finish(0) diff --git a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0395_v8.wu.txt b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0395_v8.wu.txt index 3ef5b26..8d7a62a 100644 --- a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0395_v8.wu.txt +++ b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0395_v8.wu.txt @@ -1,5 +1,5 @@ shmget in attach_shmem: Invalid argument -12:30:26 (6038): Can't set up shared mem: -1. Will run in standalone mode. +17:53:14 (9165): Can't set up shared mem: -1. Will run in standalone mode. setiathome_v8 8.00 Revision: 3290 g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) libboinc: BOINC 7.7.0 @@ -12,8 +12,8 @@ Optimal function choices: -------------------------------------------------------- v_BaseLineSmooth (no other) v_vGetPowerSpectrumUnrolled2 0.000034 0.00000 - avx_ChirpData_d 0.002793 0.00000 - AK SSE folding 0.000281 0.00000 + avx_ChirpData_d 0.002809 0.00000 + AK SSE folding 0.000282 0.00000 Flopcounter: 1980411934410.592041 @@ -22,4 +22,4 @@ Autocorr count: 1 Pulse count: 0 Triplet count: 0 Gaussian count: 0 -12:37:23 (6038): called boinc_finish(0) +18:00:15 (9165): called boinc_finish(0) diff --git a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0444_v8.wu.txt b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0444_v8.wu.txt index 398177b..8575d64 100644 --- a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0444_v8.wu.txt +++ b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG0444_v8.wu.txt @@ -1,5 +1,5 @@ shmget in attach_shmem: Invalid argument -12:30:26 (6041): Can't set up shared mem: -1. Will run in standalone mode. +17:53:14 (9168): Can't set up shared mem: -1. Will run in standalone mode. setiathome_v8 8.00 Revision: 3290 g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) libboinc: BOINC 7.7.0 @@ -11,8 +11,8 @@ Optimal function choices: name timing error -------------------------------------------------------- v_BaseLineSmooth (no other) - v_vGetPowerSpectrumUnrolled2 0.000035 0.00000 - avx_ChirpData_d 0.002806 0.00000 + v_vGetPowerSpectrumUnrolled2 0.000034 0.00000 + avx_ChirpData_d 0.002799 0.00000 AK SSE folding 0.000410 0.00000 Flopcounter: 1862594072753.852539 @@ -22,4 +22,4 @@ Autocorr count: 0 Pulse count: 0 Triplet count: 3 Gaussian count: 0 -12:36:53 (6041): called boinc_finish(0) +17:59:42 (9168): called boinc_finish(0) diff --git a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG1327_v8.wu.txt b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG1327_v8.wu.txt index c108503..b7ff53f 100644 --- a/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG1327_v8.wu.txt +++ b/APPS_REF/REF_RESULTS/ref-stderr.setiathome_8.00_x86_64-pc-linux-gnu.PG1327_v8.wu.txt @@ -1,5 +1,5 @@ shmget in attach_shmem: Invalid argument -12:30:26 (6036): Can't set up shared mem: -1. Will run in standalone mode. +17:53:14 (9162): Can't set up shared mem: -1. Will run in standalone mode. setiathome_v8 8.00 Revision: 3290 g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) libboinc: BOINC 7.7.0 @@ -12,8 +12,8 @@ Optimal function choices: -------------------------------------------------------- v_BaseLineSmooth (no other) v_vGetPowerSpectrumUnrolled2 0.000034 0.00000 - avx_ChirpData_d 0.002809 0.00000 - AK SSE folding 0.000196 0.00000 + avx_ChirpData_d 0.002804 0.00000 + AK SSE folding 0.000195 0.00000 Flopcounter: 2114949776441.358887 @@ -22,4 +22,4 @@ Autocorr count: 0 Pulse count: 0 Triplet count: 6 Gaussian count: 0 -12:36:10 (6036): called boinc_finish(0) +17:58:28 (9162): called boinc_finish(0) diff --git a/README.md b/README.md index 2963d32..74df5b1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ files for each job run. A run name can be specified with the *--run_name* commane line option. This name will be included in the name of the testData subdirectory for the current run. -## New in this Release - V1.1.1 +## New in this Release - v1.2.0 * Fixed a problem with the when lock_file was created and checked. Now placed before slot initialization. * Fixed issue where program would exit if Reference file didn't exist. Now an error message is printed and no comparison results are printed to summary files. * Added commmand line option *--no_ref* which will not create reference results when selected. This is useful for characterizing potential reference WUs. @@ -39,7 +39,7 @@ * Modified so that status display will not show skipped jobs (Reference data already exists). * Updated reference WUs in the *WU_test/safe* directory. Still need a WU with a Gaussian signal. -## New in Previous Release - V1.1.0 +## New in Previous Release - v1.1.0 * Command line options can now be specified in mode lines of the BenchCFG file. Options given on the command line will override modes specified in the CFG file. * An alternative CFG file can now be specified as a command line option. * Signal counts and Angle Range are now included in the psv and txt summary files. diff --git a/benchMT b/benchMT index f17e33d..df0bdee 100755 --- a/benchMT +++ b/benchMT @@ -52,9 +52,9 @@ __copyright__ = "Copyright (C) 2018 RueiKe" __credits__ = "Testing: Keith Myers" __license__ = "GNU General Public License" __program_name__ = "benchMT" -__version__ = "v1.1.1" +__version__ = "v1.2.0" __maintainer__ = "RueiKe" -__status__ = "Added color coded states" +__status__ = "Release" import argparse import re @@ -933,33 +933,36 @@ class JOB_LIST: print("REF Name: ", ref_result_file, file=env.sum_file_ptr) print("", file=env.sum_file_ptr) - # compare results to reference - v.similarity = "Unknown" - v.q_value = "Unknown" - command_str = env.wucmpcmd + " " + cur_result_file + " " + ref_result_file + " 2>/dev/null" - if mb_const.DEBUG == True: print("Results compare command: ", command_str) - cmd = subprocess.Popen(command_str, shell=True, stdout=subprocess.PIPE) - for line in cmd.stdout: - linestr = line.decode("utf-8").strip() - print(linestr, file=env.sum_file_ptr) - if mb_const.DEBUG == True: print("Results compare output: ", linestr) - searchObj = re.search('Result', linestr) - if(searchObj != None): - line_str_items = linestr.split(':') - if len(line_str_items) >= 2 : - result_str = line_str_items[1].strip() - result_str_items = result_str.split(',') - v.similarity = result_str_items[0].strip() - v.similarity = v.similarity.replace('.','') - if len(result_str_items) >= 2 : - q_str_items = result_str_items[1].split('=') - v.q_value = q_str_items[1].strip() - else : - v.q_value = "0.0%" - else : - v.similarity = "ERROR" - v.q_value = "ERROR" - cmd.stdout.close() + if ref_result_file != "": + # compare results to reference + v.similarity = "Unknown" + v.q_value = "Unknown" + command_str = env.wucmpcmd + " " + cur_result_file + " " + ref_result_file + " 2>/dev/null" + if mb_const.DEBUG == True: print("Results compare command: ", command_str) + cmd = subprocess.Popen(command_str, shell=True, stdout=subprocess.PIPE) + for line in cmd.stdout: + linestr = line.decode("utf-8").strip() + print(linestr, file=env.sum_file_ptr) + if mb_const.DEBUG == True: print("Results compare output: ", linestr) + searchObj = re.search('Result', linestr) + if(searchObj != None): + line_str_items = linestr.split(':') + if len(line_str_items) >= 2 : + result_str = line_str_items[1].strip() + result_str_items = result_str.split(',') + v.similarity = result_str_items[0].strip() + v.similarity = v.similarity.replace('.','') + if len(result_str_items) >= 2 : + q_str_items = result_str_items[1].split('=') + v.q_value = q_str_items[1].strip() + else : + v.q_value = "0.0%" + else : + v.similarity = "ERROR" + v.q_value = "ERROR" + cmd.stdout.close() + else: + print("Error: No reference results file.", file=env.sum_file_ptr) print("=".ljust(80, "="), file=env.sum_file_ptr) print("", file=env.sum_file_ptr) else: