Hi Andreas, Hi Andreas, I tried the patch you said in http://reviews.gem5.org/r/2087/, it works well, thanks. But now I encounter another problem. The problem is : m5.opt: error: no such option: --trace-file. Below is my running command and error information:
time ./build/ALPHA/m5.opt --debug-flags=Exec --trace-file=16c_simsmall.bodytrack.trc configs/example/fs.py -n 16 --script=../../parsec/scripts/bodytrack/bt16/bodytrack_16c_simsmall.rcS --mem-type=dramsim2 --detailed --caches --l2cache --l1i_size=32kB --l1i_assoc=4 --l1d_size=32kB --l1d_assoc=8 --l2_size=8MB --l2_assoc=8 --maxinsts=1000000 Usage ===== m5.opt [gem5 options] script.py [script options] m5.opt: error: no such option: --trace-file real 0m0.485s user 0m0.430s sys 0m0.060s So can you give me some advice? thanks, Xing On Mon, Nov 25, 2013 at 7:59 AM, Andreas Hansson <[email protected]>wrote: > Hi, > > I suggest you have a look at http://reviews.gem5.org/r/2087/ > > In contrast to earlier attempts I’ve seen, this patch properly > integrates DRAMSim2 as a type of memory in gem5. > > All you have to do is follow the instructions in the patch. > > Andreas > > From: Xing Niu <[email protected]> > Reply-To: gem5 users mailing list <[email protected]> > Date: Sunday, 24 November 2013 23:20 > To: "[email protected]" <[email protected]> > Subject: [gem5-users] DRAMSim2+GEM5 Error > > Hi, I want to use DRAMSim2+GEM5, and the patch of Xiangyu Dong is used. > Dong only supplies the se_dramsim2.py, but I want to use the FS mode. > > I modified the fs.py, only adding one sentence below > > test_sys.physmem = DRAMMemory(range=AddrRange("512MB")) > > the following error occured. > > xniu@hec-53:~/gem5_parsec1/gem5$ ./build/ALPHA_FS/m5.opt > configs/example/fs_dramsim2.py -t > > gem5 Simulator System. http://gem5.org > gem5 is copyrighted software; use the --copyright option for details. > gem5 compiled Nov 24 2013 17:37:01 > gem5 started Nov 24 2013 23:20:56 > gem5 executing on hec-53 > command line: ./build/ALPHA_FS/m5.opt configs/example/fs_dramsim2.py -t > Global frequency set at 1000000000000 ticks per second > warn: This is an integrated DRAMsim v2 module > CPU Clock = 2000MHz > Memory Bus Clock = 666MHz > Memory Capacity = 512MB > info: kernel located at: /mnt/common/xniu/parsec/m5_system/binaries/vmlinux > Listening for system connection on port 3456 > 0: system.tsunami.io.rtc: Real-time clock set to Thu Jan 1 00:00:00 > 2009 > Error connecting port system.membus.port to <orphan PhysicalMemory>.port > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/main.py", line > 356, in main > exec filecode in scope > File "configs/example/fs_dramsim2.py", line 219, in <module> > Simulation.run(options, root, test_sys, FutureClass) > File "/mnt/common/xniu/gem5_parsec1/gem5/configs/common/Simulation.py", > line 235, in run > m5.instantiate(checkpoint_dir) > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/simulate.py", > line 79, in instantiate > for obj in root.descendants(): obj.connectPorts() > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/SimObject.py", > line 972 , in connectPorts > portRef.ccConnect() > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/params.py", line > 1473, in ccConnect > [el.ccConnect() for el in self.elements] > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/params.py", line > 1395, in ccConnect > peer.simobj.getCCObject(), peer.name, peer.index) > File "/mnt/common/xniu/gem5_parsec1/gem5/src/python/m5/SimObject.py", > line 943 , in getCCObject > raise RuntimeError, "Attempt to instantiate orphan node" > RuntimeError: Attempt to instantiate orphan node > > > Thanks in advance, > Xing > > > > -- 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. > > ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2557590 > ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2548782 > > _______________________________________________ > 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
