Skip to content

Commit

Permalink
v1.2.0 RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricks-Lab committed Dec 11, 2018
1 parent 9b7ea27 commit 6a796bb
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 46 deletions.
8 changes: 8 additions & 0 deletions APPS_CPU/README.md
Original file line number Diff line number Diff line change
@@ -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.

8 changes: 8 additions & 0 deletions APPS_GPU/README.md
Original file line number Diff line number Diff line change
@@ -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.

7 changes: 7 additions & 0 deletions APPS_REF/README.md
Original file line number Diff line number Diff line change
@@ -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.

7 changes: 7 additions & 0 deletions APPS_REF/REF_RESULTS/README.md
Original file line number Diff line number Diff line change
@@ -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.

Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand All @@ -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)
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand All @@ -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)
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand All @@ -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)
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand All @@ -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)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
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.
* Added color to status display.
* 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.
Expand Down
61 changes: 32 additions & 29 deletions benchMT
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6a796bb

Please sign in to comment.