Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "run1.py", line 44, in <module>
- bl = list(bl_trees)
- File "/home/zal/.local/lib/python3.5/site-packages/multiprocess/pool.py", line 731, in next
- raise value
- IndexError: list index out of range
- try:
- print("Baseline.")
- bl_trees = LSMulator.cache_vs_bloom_vs_buf_threaded(workload, M, dM=dM, balloc=baseline_assignment, verbose=True)
- bl = list(bl_trees)
- for t in bl:
- t.clear_data()
- with open('./results-{}-{}-{}-{}.pkl'.format(str(workload), M, dM, "bl"), 'wb') as f:
- pickle.dump((str(workload), M, dM, bl), f)
- except Exception as ex:
- traceback.print_exc()
- try:
- print("Monkey.")
- mk_trees = LSMulator.cache_vs_bloom_vs_buf_threaded(workload, M, dM=dM, balloc=monkey_assignment, verbose=True)
- mk = list(mk_trees)
- for t in mk:
- t.clear_data()
- with open('./results-{}-{}-{}-{}.pkl'.format(str(workload), M, dM, "mk"), 'wb') as f:
- pickle.dump((str(workload), M, dM, mk), f)
- except Exception as ex:
- traceback.print_exc()
- i += 1
Add Comment
Please, Sign In to add comment