diff options
author | Andrea Arteaga <andyspiros@gmail.com> | 2012-04-09 23:37:32 +0200 |
---|---|---|
committer | Andrea Arteaga <andyspiros@gmail.com> | 2012-04-09 23:37:32 +0200 |
commit | c3d002ed1ee61e445aee27842f604b116fb2e729 (patch) | |
tree | 1a5de34af2e510daaf9c69a1259ed6b8c75243e1 /numbench | |
parent | Added -c / --clean switch. (diff) | |
download | auto-numerical-bench-c3d002ed1ee61e445aee27842f604b116fb2e729.tar.gz auto-numerical-bench-c3d002ed1ee61e445aee27842f604b116fb2e729.tar.bz2 auto-numerical-bench-c3d002ed1ee61e445aee27842f604b116fb2e729.zip |
Solved problems with the scalapack module -- working now.
Diffstat (limited to 'numbench')
-rw-r--r-- | numbench/confinput/xmlinput.py | 5 | ||||
-rw-r--r-- | numbench/modules/scalapack.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/numbench/confinput/xmlinput.py b/numbench/confinput/xmlinput.py index 0a44b7c..cb82e5c 100644 --- a/numbench/confinput/xmlinput.py +++ b/numbench/confinput/xmlinput.py @@ -125,6 +125,11 @@ def parseConf(fname): runenv = getEnvFromNode(t, 'runenv') # Adjust PATH + if compileenv.has_key('PATH'): + compileenv['PATH'] += ':' + os.environ['PATH'] + else: + compileenv['PATH'] = os.environ['PATH'] + if runenv.has_key('PATH'): runenv['PATH'] += ':' + os.environ['PATH'] else: diff --git a/numbench/modules/scalapack.py b/numbench/modules/scalapack.py index 28e694f..03fa190 100644 --- a/numbench/modules/scalapack.py +++ b/numbench/modules/scalapack.py @@ -57,7 +57,7 @@ class Module: btlconfig = dict ( CXX = 'mpic++', source = 'libs/PBLAS/main.cpp', - preargs = ('mpirun', '-np', self.numproc), + preargs = ('mpirun', '-np', str(self.numproc)), exe = pjoin(test['testdir'], implementation, 'test'), logdir = pjoin(test['logdir'], implementation), testdir = pjoin(test['testdir'], implementation), |