summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2012-04-09 23:37:32 +0200
committerAndrea Arteaga <andyspiros@gmail.com>2012-04-09 23:37:32 +0200
commitc3d002ed1ee61e445aee27842f604b116fb2e729 (patch)
tree1a5de34af2e510daaf9c69a1259ed6b8c75243e1 /numbench/confinput/xmlinput.py
parentAdded -c / --clean switch. (diff)
downloadauto-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/confinput/xmlinput.py')
-rw-r--r--numbench/confinput/xmlinput.py5
1 files changed, 5 insertions, 0 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: