Hi Gabe,

Thanks for answering my question. I figure it out that I did something
wrong with /tmp/runscript.

Regards,

On Sat, Jun 16, 2018 at 2:08 AM, Gabe Black <[email protected]> wrote:

> When you restore from a checkpoint, the script you specified the first
> time around will keep executing because the checkpointed state reflects
> that having been loaded and executed in the simulated system.
>
> Gabe
>
> On Fri, Jun 15, 2018 at 10:59 PM Mao Ye <[email protected]> wrote:
>
>> Hi all,
>>
>> I currently face a problem with --script option, that is , the full disk
>> system never executes my script. I have checked that from the checkpoint I
>> restored, the system user is root, and my script has been chmoded with 755.
>> My first command is to do another checkpoint, but it never works.  Any
>> reason this could be ?
>>
>> Many thanks,
>>
>> My command is set as below:
>>
>> /home/mao/gem5Research/build/X86/gem5.opt 
>> /home/mao/gem5Research/configs/example/fs.py
>> --disk-image=/home/mao/diskimage/disks/ubuntu-16.04_BENCH.img
>> --kernel=/home/mao/diskimage/binaries/VM-4.14-newcopy
>> --checkpoint-dir=/home/mao/gem5Research/scriptMY/
>> newbatch/SPEC_CHECKPOINTS/pmeM1 --mem-size=16GB
>> --cpu-type=AtomicSimpleCPU --mem-type=DDR4_2400_4x16 --l3cache --caches -n
>> 8 -r 2  --script /home/mao/gem5Research/scriptMY/newbatch/parabatch/pmeM1.rCS
>> > /home/mao/gem5Research/scriptMY/newbatch/SPEC_CHECKPOINTS/pmeM1/T5
>>
>>
>>
>> --
>> Mao Ye,
>> _______________________________________________
>> 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
>



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

Reply via email to