Hello Muzamil,
I believe LiveProcess() was changed to Process(). simple.py you are using was 
probably downloaded from learning.gem5.org, that file is not up-to-date. You 
may want to check configs/learning_gem5/part/simple.py for an updated version. 
This should be the changeset: http://repo.gem5.org/gem5/rev/824055fe6b30

Hope this is what you are looking for.

Cheers
Serhat

________________________________________
From: gem5-users [[email protected]] on behalf of Muzamil Rafique 
[[email protected]]
Sent: 22 February 2017 00:37
To: [email protected]
Subject: [gem5-users] "LiveProcess" is not defined!!!

Hi All,

I just updated my gem5 repo and now I am getting error which was not the case 
before. By running simple.py, I am getting following error:

command line: build/X86/gem5.opt configs/tutorial/simple.py

                         Traceback (most recent call last):
                          File "<string>", line 1, in <module>
                            File "/****/gem5/src/python/m5/main.py", line 400, 
in main
                         exec filecode in scope
                          File "configs/tutorial/simple.py", line 51, in 
<module>
                           process = 
LiveProcess(cmd='tests/test-progs/hello/bin/x86/linux/hello')

I am getting following error:

                             NameError: name 'LiveProcess' is not defined

Where is the LiveProcess()? If nowhere, how do we assign workload to CPU?

Help Please!!!


Thanks

Muzamil


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to