Hi Sanem, I tried that , and mounted the .img, I can't see the output being written though the output "prices.txt" is supposed to be in this folder according to the .rCS
/parsec/install/inputs/blackscholes$ lt total 5.3M -rw-r--r-- 1 root root 253K Nov 13 2009 in_4K.txt -rw-r--r-- 1 root root 1022 Nov 13 2009 in_16.txt -rw-r--r-- 1 root root 4.0M Nov 13 2009 in_64K.txt -rw-r--r-- 1 root root 1011K Nov 13 2009 in_16K.txt -rw-r--r-- 1 root root 254 Mar 2 2010 in_4.txt I checked the System.terminal and it says sync applet not found. I'm using the alpha fs mode [HOOKS] Entering ROI [HOOKS] Leaving ROI [HOOKS] Total time spent in ROI: 0.001s [HOOKS] Terminating Done :D *sync: applet not found* On Thu, Mar 19, 2015 at 3:12 AM, Sanem Arslan <[email protected]> wrote: > Hi Vinayak, > > I have used "busybox sync" command before exiting the simulation to write > all changes to disk. > > For example: > > ./blackscholes 1 /parsec/install/inputs/blackscholes/in_4K.txt > /parsec/install/inputs/blackscholes/prices.txt > echo "Done :D" > busybox sync > /sbin/m5 exit > > Bests, > Sanem > > Alinti Vinayak Bhargav Srinath <[email protected]> > > Hi All, >> >> Can someone please help me regarding this query ? >> >> On Fri, Mar 13, 2015 at 10:10 PM, Vinayak Bhargav Srinath < >> [email protected]> >> wrote: >> >> Hi, >>> >>> I'm running the PARSEC blackscholes benchmark as a test and I wanted to >>> see if gem5 actually creates an output for the benchmark run. I tried >>> mounting the image to see if has written in the linux-latest.img >>> somewhere >>> but I'm not able to see it. I need to be able to access the outputs of >>> the >>> benchmarks. >>> The benchmark ran successfully.. >>> >>> Here >>> gem5 run command: >>> >>> *./build/ALPHA/gem5.opt configs/example/fs.py >>> --script=/project/cspin-scratch1/srina005/full_sys_ >>> img/ALPHA/PARSEC/blackscholes_1c_test.rcS >>> --cpu-type=detailed --caches --l2cache --num-cpus=1 --cpu-clock=1GHz >>> --l1d_size=64kB --l1i_size=64kB --l1d_assoc=4 --l1i_assoc=2 --l2_size=4MB >>> --l2_assoc=8 --cacheline_size=64* >>> >>> >>> I had a look at the .rcS and it seems to be writing to some location >>> /parsec/install/inputs/blackscholes/prices.txt which i tried to find >>> after >>> mounting the image >>> >>> .rcS file: >>> >>> #!/bin/sh >>> >>> # File to run the blackscholes benchmark >>> >>> cd /parsec/install/bin >>> #/sbin/m5 switchcpu >>> /sbin/m5 dumpstats >>> /sbin/m5 resetstats >>> ./blackscholes 1 /parsec/install/inputs/blackscholes/in_4K.txt >>> /parsec/install/inputs/blackscholes/prices.txt >>> echo "Done :D" >>> /sbin/m5 exit >>> /sbin/m5 exit >>> >>> >>> Please let me know how to access the outputs of the benchmarks (in this >>> case "prices.txt" ) I have been stuck on this for a long long time. >>> I have had a hard time cross-compiling binaries statically so i switched >>> over from syscall emulation to fullsystem mode for running the >>> benchmarks. >>> Please let me know how to access the outputs in while running in fs mode >>> >>> -- >>> Thanks and Regards, >>> *Vinayak * >>> >>> >>> >>> >> >> -- >> Thanks and Regards, >> *Vinayak Bhargav Srinath* >> *Ph: +1-612-987-9211* >> >> > > -- Thanks and Regards, *Vinayak Bhargav Srinath* *Ph: +1-612-987-9211*
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
