summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2012-03-23 11:36:50 +0100
committerAndrea Arteaga <andyspiros@gmail.com>2012-03-23 11:36:50 +0100
commit2e70cd3b49d01110923e7ea239da0e1572d3ff17 (patch)
tree0bd5d05e4c47a1b56c5048cb8326ae4862ba3ff5 /numbench/utils
parentMerge remote branch 'origin/master' (diff)
downloadauto-numerical-bench-2e70cd3b49d01110923e7ea239da0e1572d3ff17.tar.gz
auto-numerical-bench-2e70cd3b49d01110923e7ea239da0e1572d3ff17.tar.bz2
auto-numerical-bench-2e70cd3b49d01110923e7ea239da0e1572d3ff17.zip
Solved BTL clock problem. Added initial (not tested) scalapack new module. Solved HTML issues.0.2_beta2
Diffstat (limited to 'numbench/utils')
-rw-r--r--numbench/utils/btl.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numbench/utils/btl.py b/numbench/utils/btl.py
index 541ff1e..d464d38 100644
--- a/numbench/utils/btl.py
+++ b/numbench/utils/btl.py
@@ -162,7 +162,10 @@ def compileTest(test, btlconfig):
def runTest(test, btlconfig):
+ # Set runtime environment
runenv = btlconfig['runenv']
+ if not runenv.has_key('BTL_CONFIG'):
+ runenv['BTL_CONFIG'] = '--real'
# Check linking
logfs = file(pjoin(btlconfig['logdir'], 'btlLinking.log'), 'w')
@@ -173,9 +176,9 @@ def runTest(test, btlconfig):
# Prepare arguments
args = (btlconfig['exe'],) + tuple(btlconfig['tests'])
if btlconfig.has_key('preargs'):
- args = btlconfig['preargs'] + args
+ args = tuple(btlconfig['preargs']) + args
if btlconfig.has_key('postargs'):
- args = args + btlconfig['postargs']
+ args = args + tuple(btlconfig['postargs'])
# Open log
logfs = file(pjoin(btlconfig['logdir'], "btlRun.log"), 'w')