Hello
I'm using Gem5-Garnet and I had a problem that I couldn't find on the
documents and I was hoping if you could help me.

I'm planing to place processes on the cores of the Mesh network manually,
for this in the file Garnet_synth_traffic.py  I added a few lines to

A- make a list of processes with different Pids in the range of 100+i each
equal to the process Hello World in a for
B-  assign each system.cpu[i].workload to each of the processes on the list
one by one in another for.
here is my code:
print "begining of hellow world"

#process = [Process() for i in xrange(101,101+options.num_cpus)]
process = []
for i in xrange(options.num_cpus):
     tmp = Process(pid = 100 + i)
     tmp.cmd = ['tests/test-progs/hello/bin/x86/linux/hello']

     process.append(tmp)

for i in xrange(options.num_cpus):

     print i
     system.cpu[i].workload = process[i]

#     system.cpu[i].createThreads()

print "end of hellow world"

and I placed it before

Ruby.create_system(options, False, system)

but when building with X68/gem5.opt, using the command :
./build/X86/gem5.opt configs/example/garnet_synth_mine.py  --num-cpus=4
--num-dirs=4 --network=garnet2.0 --topology=Mesh_XY --mesh-rows=2
--sim-cycles=1000 --synthetic=uniform_random --injectionrate=0.01

 I get the error "fatal: Process system.cpu0.workload is not associated
with any HW contexts!" and Hello World! is not printed
I would really appreciate it if you could help me out on this.

Thank you in advance
Best of regards
Parmida
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to