Guest User

Untitled

a guest
Jul 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "run1.py", line 44, in <module>
  3. bl = list(bl_trees)
  4. File "/home/zal/.local/lib/python3.5/site-packages/multiprocess/pool.py", line 731, in next
  5. raise value
  6. IndexError: list index out of range
  7.  
  8. try:
  9. print("Baseline.")
  10. bl_trees = LSMulator.cache_vs_bloom_vs_buf_threaded(workload, M, dM=dM, balloc=baseline_assignment, verbose=True)
  11. bl = list(bl_trees)
  12. for t in bl:
  13. t.clear_data()
  14. with open('./results-{}-{}-{}-{}.pkl'.format(str(workload), M, dM, "bl"), 'wb') as f:
  15. pickle.dump((str(workload), M, dM, bl), f)
  16. except Exception as ex:
  17. traceback.print_exc()
  18.  
  19. try:
  20. print("Monkey.")
  21. mk_trees = LSMulator.cache_vs_bloom_vs_buf_threaded(workload, M, dM=dM, balloc=monkey_assignment, verbose=True)
  22. mk = list(mk_trees)
  23. for t in mk:
  24. t.clear_data()
  25. with open('./results-{}-{}-{}-{}.pkl'.format(str(workload), M, dM, "mk"), 'wb') as f:
  26. pickle.dump((str(workload), M, dM, mk), f)
  27. except Exception as ex:
  28. traceback.print_exc()
  29.  
  30. i += 1
Add Comment
Please, Sign In to add comment