Hi all,

I am trying to using network part of Gem5, but having the following
problem:

I downloaded the latest stable version and build two programs: 1.
ALPHA_MESI_CMP_directory  2. ALPHA_Network_test
When I followed website: http://www.m5sim.org/Networktest and run
ALPHA_Network_test with command: *./build/ALPHA_Network_test/gem5.debug
configs/example/ruby_network_test.py --num-cpus=16 --num-dirs=16
--topology=Mesh --mesh-rows=4 --sim-cycles=1000 --injectionrate=0.01
--synthetic=0 --fixed-pkts --maxpackets=1 --garnet-network=fixed *it
worked.
When I changed the command to: *./build/ALPHA_MESI_CMP_directory/gem5.opt
configs/example/ruby_network_test.py --num-cpus=16 --num-dirs=16
--topology=Mesh --mesh-rows=4 --sim-cycles=1000 --injectionrate=0.01
--synthetic=0 --fixed-pkts --maxpackets=1 --garnet-network=fixed *it
failed. Has following infos:
Error: could not create topology Mesh
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File
"/home/xchen19/gem5_new/gem5-stable-f75ee4849c40/src/python/m5/main.py",
line 359, in main
    exec filecode in scope
  File "configs/example/ruby_network_test.py", line 108, in <module>
    Ruby.create_system(options, system)
  File
"/home/xchen19/gem5_new/gem5-stable-f75ee4849c40/configs/ruby/Ruby.py",
line 139, in create_system
    % options.topology)
  File "<string>", line 1, in <module>
  File
"/home/xchen19/gem5_new/gem5-stable-f75ee4849c40/src/mem/ruby/network/topologies/Mesh.py",
line 80, in makeTopology
    assert(node.type == 'DMA_Controller')
AssertionError

When using ALPHA_MESI, if I don't stick with MESH, use crossbar, it also
works. So what's wrong with Mesh?

I read posts before, but the problem here is that I put same directories as
cpus, but it still complains. Do you have any idea?

Thanks,
-- 
Xi Chen
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to