Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/ein16/synth/d2/run.py
ViewVC logotype

Diff of /branches/ein16/synth/d2/run.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4235, Tue Jul 19 22:26:44 2016 UTC revision 4236, Wed Jul 20 03:02:00 2016 UTC
# Line 45  Line 45 
45      os.system("rm *.h")      os.system("rm *.h")
46      os.system("rm *.nrrd")      os.system("rm *.nrrd")
47      os.system("rm *.cxx")      os.system("rm *.cxx")
48        os.system("rm *.diderot")
49      os.system("rm fs3d-vec2")      os.system("rm fs3d-vec2")
50      os.system("rm fs3d-vec2")      os.system("rm fs3d-vec2")
51    
# Line 53  Line 54 
54  def writeall(e):  def writeall(e):
55      #print (e)      #print (e)
56      # if it works continue      # if it works continue
57      f = open("results_Final_1.txt", 'a+')      f = open("rst/results_Final_1.txt", 'a+')
58      f.write(e)      f.write(e)
59      f.close()      f.close()
60  def writesummary(e):  def writesummary(e):
61      #print (e)      #print (e)
62      # if it works continue      # if it works continue
63      f = open("results_summary_1.txt", 'a+')      f = open("rst/results_summary_1.txt", 'a+')
64      f.write(e)      f.write(e)
65      f.close()      f.close()
66    
67  def writetys(e):  def writetys(e):
68      #print (e)      #print (e)
69      # if it works continue      # if it works continue
70      f = open("results_tys_1.txt", 'a+')      f = open("rst/results_tys_1.txt", 'a+')
71      f.write(e)      f.write(e)
72      f.close()      f.close()
73    
# Line 224  Line 225 
225          x = ("\n\t-"+rtn_1+" "+names)          x = ("\n\t-"+rtn_1+" "+names)
226          # print ("rst_cnt",rst_cnt)          # print ("rst_cnt",rst_cnt)
227          writeall(x)          writeall(x)
228          if (rst_terrible_1==1):          if (rst_terrible_1==10):
229              writesummary(x)              writesummary(x)
230              names= "t_"+str(ex_opr)+"_"+str(id)+"_"+str(ex_num)+"_"+str(app.oty.id)              names= "t_"+str(ex_opr)+"_"+str(id)+"_"+str(ex_num)+"_"+str(app.oty.id)
231              path = fld+"/"+names              path = fld+"/"+names
# Line 495  Line 496 
496          write_results(str(ex_opr)+" "+str(ex_outer)+" "+str(ex_num)+" "+str(ex_ty2)+":")          write_results(str(ex_opr)+" "+str(ex_outer)+" "+str(ex_num)+" "+str(ex_ty2)+":")
497  else:  else:
498    raise "unsupported"    raise "unsupported"
499    
500    clean()

Legend:
Removed from v.4235  
changed lines
  Added in v.4236

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0