Thanks Majid for your prompt response. I will try it soon.

Since I am not familiar with python and, I don't know exactly what is happening inside fs.py.

So I have something to ask and confirm, just to know about. I have default fs.py without any customization.


Firstly, In 'fs.py', what you are referring to is this line (i.e. when you say "but before..."): 'Simulation.run(options, root, test_sys, FutureClass)', right?

Also in the lines where you have written: root = Root(full_system = False, system = system)

there is this 'full_system = False', would not affect my Full System simulation (FS mode), right?



--------- 원본 메일 ---------
보낸사람: Majid Jalili <[email protected]>
받는사람 : gem5 users mailing list <[email protected]>
날짜: 2015년 3월 18일 수요일, 17시 30분 46초 +0900
제목: Re: [gem5-users] panic: Running multiple instances of Gem5 inparallel
You should add m5.disableAllListeners() at the end of of your simulation python script for example at the end of fs.py or se.py but before Simulation.run(..

m5.disableAllListeners()
root = Root(full_system = False, system = system)
Simulation.run(options, root, system, FutureClass)

On Wed, Mar 18, 2015 at 11:51 AM, Tod <[email protected]> wrote:

Hi, 


I have been running multiple instances of Gem5 in parallel and facing the problem of crashes of random one or two simulations out of tens. 

I have found a mention of a similar problem @:

https://www.mail-archive.com/[email protected]/msg08270.html

with the same error message as bellow: 

panic: ListenSocket(listen): listen() failed!

The solution is also mentioned in the link. But I have some concerns as following:

 

1) If I follow Ali, as he said, "If you add m5.disableAllListeners() to the python script your problem will go away", then which 'python script' is he referring to? 

I added that to the end of my fs.py but, the problem is still there.

2) There is a patch given in the same link, has that patch been shipped and approved (I mean, is that tested, validated and verified)?


Best.

Tod


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

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



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

Reply via email to