On Wed, Mar 7, 2012 at 12:47 AM, Heba Saadeldeen <h...@cs.ucsb.edu> wrote:

> Hi,
>
> I am trying to run Parsec with checkpoints. I followed the report from
> utexas. However when I run it, it exits on switching cpu:
>
> command line: ./build/ALPHA/gem5.opt --stats-file=blackscholes2.txt
> ./configs/example/fs.py
> --script=/cs/arch2/heba/haha/gem5/Parsec/blackscholes_2c_simsmall.rcS
> --num-cpus 2
> Global frequency set at 1000000000000 ticks per second
> Listening for system connection on port 3456
>       0: system.tsunami.io.rtc: Real-time clock set to Thu Jan  1 00:00:00
> 2009
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> 0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001
> info: kernel located at: /cs/arch2/heba/haha/gem5/Parsec/binaries/vmlinux
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> info: Launching CPU 1 @ 168663000
> warn: Prefetch instructions in Alpha do not do anything
> warn: Prefetch instructions in Alpha do not do anything
> hack: be nice to actually delete the event here
> Exiting @ tick 2259361731500 because switchcpu
>
> My blackscholes_2c_simsmall.rcS looks like this:
> cd /parsec/install/bin.ckpts
> /sbin/m5 switchcpu
> /sbin/m5 dumpstats
> /sbin/m5 resetstats
> ./blackscholes 2 /parsec/install/inputs/blackscholes/in_4K.txt
> /parsec/install/inputs/blackscholes/prices.txt
> echo "Done :D"
> /sbin/m5 exit
> /sbin/m5 exit
>
> Any help is really appreciated!
> Thanks,
>

Remove the switchcpu from the rcS file.
One more thing - your command line did not say that u r running with
checkpoints. First run the rcS with checkpoints
(blackscholes_2c_simsmall_ckpts.rcS ) and then restore it with the
checkpoint-restore=1.

> --
> Heba
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 

*thanks&regards
*
*BISWABANDAN*
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to