@@ -0,0 +1,990 @@
+#-----------------------------------------------%0A# initialize the param of tool/datuner/workspace %0A# this info is supposed to be assigned by the user%0A#-----------------------------------------------%0A%0Aimport os%0Aimport sys%0A%0Atpath = %22/work/zhang/users/sx233/datuner/build/pkgs/vtr/vtr_release/vtr_flow%22%0Adesign = %22diffeq1%22%0Awrksp = %22/work/zhang/users/sx233/datuner/test%22%0Aproc_num = 1%0A%0Adatpath = sys.path%5B0%5D%0AsrcFile = datpath+%22/run_DATuner.py%22%0A%0A#change the NMAE_HOLDER in run_DATuner.py%0A%0Arep_cmd = %22sed -e %5C%22s:TOOL_PATH:%22+tpath+%22:g%5C%22 -e %5C%22s:DESIGN_NAME:%22+design+%22:g%5C%22 -e %5C%22s:WROKSPACE:%22+wrksp+%22:g%5C%22 -e %5C%22s:DATuner_PATH:%22+datpath+%22:g%5C%22 -e %5C%22s:PROC_NUM:%22+str(proc_num)+%22:g%5C%22 %22+srcFile+%22 %3E %22+datpath+%22/datuner%22+%22_new.py%22%0Aos.system(rep_cmd)%0A%0A# run the datuner_new.py with the assigned paramter%0Aprint %22call: python ./datuner_new.py --tool vtr --timeout 20 2 0 0.1 --para-factor 2 --max-run 1000%22  %0Aos.system(%22python ./datuner_new.py --tool vtr --timeout 20 2 0 0.2197 --para-factor 2 --max-run 1000%22)%0A

Create run_init.py