Commit 19594755 by Ravi Varadarajan

Create job dir if doesnt exisit. Create job/all_jobs file if doesnt exist

Signed-off-by: Ravi Varadarajan <rvaradarajan@ucsd.edu>
parent 43e2617b
...@@ -7,9 +7,11 @@ import time ...@@ -7,9 +7,11 @@ import time
testcases = ['ariane136', 'ariane133', 'mempool_tile', 'nvdla'] testcases = ['ariane136', 'ariane133', 'mempool_tile', 'nvdla']
enablements = ['NanGate45', 'ASAP7', 'SKY130HD'] enablements = ['NanGate45', 'ASAP7', 'SKY130HD']
flows = [1, 2] flows = [1, 2]
if not os.path.exists("./job"):
os.makedirs("./job")
job_file = "./job/all_jobs" job_file = "./job/all_jobs"
fp = open(job_file, "w") fp = open(job_file, "w+")
run_dir_name= f"run-{time.strftime('%Y%m%d-%H%M%S')}" run_dir_name= f"run-{time.strftime('%Y%m%d-%H%M%S')}"
for enablement in enablements: for enablement in enablements:
for testcase in testcases: for testcase in testcases:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment