Skip to content

Commit

Permalink
updated to python3
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Hiatt committed Apr 26, 2018
1 parent 6812370 commit 53ff154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ def run_composite(self, path):
for x in range(self.num_runs):
result_dir = self._prerun(path)
#p = Popen([self.jdk, self.jvm_options, "-jar", "{}/specjbb2015.jar".format(path), "-m", "COMPOSITE", opts, "2>", "{}/composite.log".format(result_dir), "{}/composite.out".format(result_dir)])
p.wait()
#p.wait()
# spec = os.subprocess.Popen(['/usr/bin/java' "{}/specjbb2015.jar".format(path)])
#os.system('{} {} -jar {}/specjbb2015.jar -m COMPOSITE {} 2> {}/composite.log > {}/composite.out &'.format(self.jdk, self.jvm_options, path, opts, result_dir, result_dir))
os.system('{} {} -jar {}/specjbb2015.jar -m COMPOSITE {} 2> {}/composite.log > {}/composite.out &'.format(self.jdk, self.jvm_options, path, opts, result_dir, result_dir))
return 0

def run_distributed_ctrl_txl(self, path):
Expand Down

0 comments on commit 53ff154

Please sign in to comment.