Hi Mohammad,
Hmm I have not looked at the gem5 codebase in 3 years so I'm afraid I don't 
have any idea on how to resolve this error.

A few pointers:
try --mesh-rows=1.
This might have changed since I looked at it, but the option used to be called 
--garnet-network=fixed rather than --garnet=fixed. Try that.

Make sure you can run garnet in standalone mode.
http://www.gem5.org/Ruby_Network_Test

Which protocol did you build to run FS?
Try MOESI_hammer, or MOESI_CMP_directory

Good luck,
Tushar



On Aug 16, 2014, at 4:37 PM, Mohammadsadegh Sadeghi wrote:

> Hi Tushar,
> I would like to ask you to help me, how should I resolve this problem, based 
> on previous email.
> Thanks for your time and consideration.
> 
> --
> Kind Regards,
> Mohammad Sadegh Sadeghi
> 
> 
> On Friday, August 15, 2014 1:21 PM, Mohammadsadegh Sadeghi via gem5-users 
> <gem5-users@gem5.org> wrote:
> 
> 
> Hi Tushar,
> Thanks again for your reply.
> 
> I run the following commands without error:
> 
> 1-
> ./build/ALPHA_FS/gem5.opt --debug-flag=Exec,ExecTicks ./configs/example/se.py 
> --num-cpus=2 --num-dirs=2 --caches --num-l2caches=2 --ruby --topology=Mesh 
>  --mesh-rows=2   
> --cmd="tests/test-progs/hello/bin/alpha/linux/hello;tests/test-progs/hello/bin/alpha/tru64/hello"
> 
> 2- (for this it takes too time and still running)
> ./build/ALPHA_FS/gem5.opt --debug-flag=Exec,ExecTicks ./configs/example/se.py 
> --num-cpus=2 --num-dirs=2 --caches --num-l2caches=2 --ruby --topology=Mesh  
> --mesh-rows=2   --script=configs/boot/queens.rcS
> 
> But when add --garnet=fixed or flexible flag both comes with the same 
> following error:
> *********************************************************************
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
> 
> gem5 compiled Jul 20 2014 22:36:30
> gem5 started Aug 15 2014 13:00:35
> gem5 executing on mohsasa60-VGN-SZ470N
> command line: ./build/ALPHA_FS/gem5.opt --debug-flag=Exec,ExecTicks 
> ./configs/example/ruby_fs.py --num-cpus=2 --num-dirs=2 --caches 
> --num-l2caches=2 --ruby --topology=Mesh --mesh-rows=2 --garnet=fixed 
> --script=configs/boot/queens.rcS
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> warn: add_child('cls'): child 'credit_links0 credit_links1' already has parent
> Global frequency set at 1000000000000 ticks per second
> info: kernel located at: /home/mohsasa60/gem5/system/binaries/vmlinux
> Listening for system connection on port 3456
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/home/mohsasa60/gem5/src/python/m5/main.py", line 388, in main
>     exec filecode in scope
> ###File "./configs/example/se.py", line 258, in <module>
>     Simulation.run(options, root, system, FutureClass)### for se.py
> ###File "./configs/example/ruby_fs.py", line 143, in <module>
>     Simulation.run(options, root, system, FutureClass)###for ruby_fs.py
>   File "/home/mohsasa60/gem5/configs/common/Simulation.py", line 415, in run
>     m5.instantiate(checkpoint_dir)
>   File "/home/mohsasa60/gem5/src/python/m5/simulate.py", line 112, in 
> instantiate
>     for obj in root.descendants(): obj.createCCObject()
>   File "/home/mohsasa60/gem5/src/python/m5/SimObject.py", line 1066, in 
> createCCObject
>     self.getCCParams()
>   File "/home/mohsasa60/gem5/src/python/m5/SimObject.py", line 1025, in 
> getCCParams
>     setattr(cc_params, param, value)
> SystemError: NULL result without error in PyObject_Call
>  ***********************************************************************
> 
> I would appreciate it if you help to resolve this.
> Thanks for your help and time.
> --
> Kind Regards,
> Mohammad Sadegh Sadeghi
> 
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> 
> 

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

Reply via email to