Hi Khaled, You can run multiple gem5 instances from the same build directory, with the same kernel and disk image. I should have been more clear about the “-r” parameter. It is for gem5, not the simulation script, and it redirects stdout and stderr to a file. Combine this with “-d” to set a different directory for each instance you run. Thus, in a makefile or shell script you can run multiple gem5 copies with gem5.opt –r –d $unique_dir configs/script.py
Andreas From: Khaled Attia <[email protected]<mailto:[email protected]>> Date: Saturday, 3 October 2015 18:07 To: Andreas Hansson <[email protected]<mailto:[email protected]>> Subject: Re: [gem5-users] running multiple instances of gem5 Thanks for your help. No I don't want them to communicate, I want to run multiple instance to make use of the multi-core processor (each simulation would be executed on a separate core) regarding -r option, I opened the Options.py file and I found it is used for restoring checkpoints. Now I'm confused And also, do I need for example to have multiple copies of the gem5 folder to run multiple simulations? Do I have to use different disk images and kernel files? Do I need to use a separate simulation script for each simulation or I can use the same one for all ? -- Khaled M. Attia T.A. @ Computers & Systems Engineering Mansoura University, Egypt email: khaled.3ttia[at]gmail.com<http://gmail.com> ________________________________ -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
