diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-12-19 11:23:13 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-12-19 11:23:13 -0500 |
commit | 8a5da068956f9f428ed138d2cabbc712918d52e6 (patch) | |
tree | 655b9ab9209d637f1cd3c8067e49b3e2a3bbec13 | |
parent | 104faa29d24fa1976941c0ccf53a343c926772c7 (diff) |
Find other spins
-rwxr-xr-x | run_exps.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_exps.py b/run_exps.py index db476dd..43de422 100755 --- a/run_exps.py +++ b/run_exps.py | |||
@@ -160,10 +160,10 @@ def run_exp(name, schedule, scheduler, kernel, duration, work_dir, out_dir): | |||
160 | raise IOError("Invalid spin conf %s: %s" % (spin_conf, name)) | 160 | raise IOError("Invalid spin conf %s: %s" % (spin_conf, name)) |
161 | (spin, args) = (spin_conf[0], spin_conf[1]) | 161 | (spin, args) = (spin_conf[0], spin_conf[1]) |
162 | 162 | ||
163 | if not conf.BINS[spin]: | 163 | # if not conf.BINS[spin]: |
164 | raise IndexError("No knowledge of program %s: %s" % (spin, name)) | 164 | # raise IndexError("No knowledge of program %s: %s" % (spin, name)) |
165 | 165 | ||
166 | real_spin = conf.BINS[spin] | 166 | real_spin = get_executable(spin, "") |
167 | real_args = ['-w'] + args.split() + [duration] | 167 | real_args = ['-w'] + args.split() + [duration] |
168 | 168 | ||
169 | if not lu.is_executable(real_spin): | 169 | if not lu.is_executable(real_spin): |