millyz/SimEDC

关于Trace Analysis报错

Opened this issue · 0 comments

您好,我想使用Trace Analysis功能,使用:
python simedc.py -A unifbfb -f 0.5 -b 0.095 -i 2 -p 1 -t rs -n 9 -k 6 -T flat -F True -d 7
报错为:

*********** Configuration ***********
total_iterations = 2
num_processes = 1
mission_time(hours) = 876000
rseed_plus = 10
num_racks = 32
nodes_per_rack = 32
disks_per_node = 1
capacity_per_disk = 1048576
chunk_size(MiB) = 256
num_stripes = 349524
code_type = Reed-Solomon Codes
code_n = 9
code_k = 6
total_capacity (PiB) = 1.000000
usage_ratio = 0.749997
place_type = FLAT
chunk_rack_config = None
network_setting = [125, 125]
use_trace = True
trace_id = 7
Simulation type = uniformization_balanced_failure_biasing
is_fb_prob = 0.500, is_beta = 0.095
***************************************

sum_nodes 1024
System 7 has 964 nodes with failure events.
Sum nodes having failure events 964
2021-07-13 22:34:19,450 - lib.is_simulation - INFO - UnifBFBSimulator: begin an iteration 0, num_failed_disks = 0, avail_cross_rack_bwth = 125
Traceback (most recent call last):
  File "simedc.py", line 458, in <module>
    results_list = pool.map(do_it, jobs)
  File "D:\Software\Anaconda\envs\py2.7\lib\multiprocessing\pool.py", line 253, in map
    return self.map_async(func, iterable, chunksize).get()
  File "D:\Software\Anaconda\envs\py2.7\lib\multiprocessing\pool.py", line 572, in get
    raise self._value
AttributeError: 'NoneType' object has no attribute 'draw_inverse_transform'

好像是类型错误,但暂时看不出来什么问题,感谢您的解答 @millyz