Dear all,

When I tried to invoke the network, I faced the next two errors:

No. 1:
When I tried to run the following codes absolutely the same as that on the
Wiki page:

scons -j2 build/ALPHA/gem5.debug RUBY=True PROTOCOL=MESI_Two_Level

./build/ALPHA/gem5.debug \
                  configs/example/ruby_random_test.py \
                  --num-cpus=16  \
                  --num-dirs=16  \
                  --topology=Mesh  \
                  --mesh-rows=4

I have the error saying:

lewen@lewen-ThinkPad-X250:~/exp1/gem5-stable$ ./build/ALPHA/gem5.debug \
>                   configs/example/ruby_random_test.py \
>                   --num-cpus=16  \
>                   --num-dirs=16  \
>                   --topology=Mesh  \
>                   --mesh-rows=4
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jun 11 2015 16:33:53
gem5 started Jun 27 2015 19:17:33
gem5 executing on lewen-ThinkPad-X250
command line: ./build/ALPHA/gem5.debug
configs/example/ruby_random_test.py --num-cpus=16 --num-dirs=16
--topology=Mesh --mesh-rows=4
Error: could not create sytem for ruby protocol MESI_Two_Level
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/lewen/exp1/gem5-stable/src/python/m5/main.py", line 388, in main
    exec filecode in scope
  File "configs/example/ruby_random_test.py", line 108, in <module>
    Ruby.create_system(options, False, system)
  File "/home/lewen/exp1/gem5-stable/configs/ruby/Ruby.py", line 191,
in create_system
    % protocol)
  File "<string>", line 1, in <module>
  File "/home/lewen/exp1/gem5-stable/configs/ruby/MESI_Two_Level.py",
line 98, in create_system
    clk_domain=system.cpu[i].clk_domain,
  File "/home/lewen/exp1/gem5-stable/src/python/m5/SimObject.py", line
1156, in __getitem__
    raise IndexError, "Non-zero index '%s' to SimObject" % key
IndexError: Non-zero index '1' to SimObject


When I changed the Protocol to MOESI_CMP_directory, or just kept the
default MI_directory, the same errors occurred.


No. 2:
When I tried to run garnet standalone, I faced the following error:

 scons build/ALPHA_Network_test/gem5.debug
 ./build/ALPHA_Network_test/gem5.debug configs/example/ruby_network_test.py
--num-cpus=2 --num-dirs=2 --topology=Pt2Pt  --injectionrate=0.01
--synthetic=0 --fixed-pkts --maxpackets=1 --garnet-network=flexible
--sim-cycles=1000


lewen@lewen-ThinkPad-X250:~/exp1/gem5-stable$
./build/ALPHA_Network_test/gem5.debug configs/example/ruby_network_test.py
--num-cpus=2 --num-dirs=2 --topology=Pt2Pt  --injectionrate=0.01
--synthetic=0 --fixed-pkts --maxpackets=1 --garnet-network=flexible
--sim-cycles=1000
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jun 11 2015 16:06:40
gem5 started Jun 24 2015 16:26:51
gem5 executing on lewen-ThinkPad-X250
command line: ./build/ALPHA_Network_test/gem5.debug
configs/example/ruby_network_test.py --num-cpus=2 --num-dirs=2
--topology=Pt2Pt --injectionrate=0.01 --synthetic=0 --fixed-pkts
--maxpackets=1 --garnet-network=flexible --sim-cycles=1000
Global frequency set at 1000000000 ticks per second
warn: rounding error > tolerance
    1.250000 rounded to 1
warn: rounding error > tolerance
    1.250000 rounded to 1
warn: rounding error > tolerance
    0.072760 rounded to 0
warn: rounding error > tolerance
    1.250000 rounded to 1
warn: rounding error > tolerance
    1.250000 rounded to 1
warn: rounding error > tolerance
    0.072760 rounded to 0
warn: rounding error > tolerance
    1.250000 rounded to 1
warn: DRAM device capacity (8192 Mbytes) does not match the address range
assigned (256 Mbytes)
warn: rounding error > tolerance
    1.250000 rounded to 1
warn: DRAM device capacity (8192 Mbytes) does not match the address range
assigned (256 Mbytes)
warn: rounding error > tolerance
    0.072760 rounded to 0
fatal condition addrMap.insert(m->getAddrRange(), m) == addrMap.end()
occurred: Memory address range for system.physmem is overlapping
 @ tick 0
[PhysicalMemory:build/ALPHA_Network_test/mem/physical.cc, line 79]
Memory Usage: 112472 KBytes
lewen@lewen-ThinkPad-X250:~/exp1/gem5-stable$


the tools' versions are:
gem5_stable
gcc 4.9.2
g++ 4.9.2
swig 2.0.12 or 3.0.5(both tried)
m4 1.4.17
scons 2.3.1
OS ubuntu 15.04
mercurial 3.1.2

Thank you!
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to