Hey Majid,

I made Gabe aware of this, he has an explanation noted in the breaking
commit: https://gem5-review.googlesource.com/c/public/gem5/+/49105.

Gabe suggests you try this commit and see if it works for you:
https://gem5-review.googlesource.com/c/public/gem5/+/56929

--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Thu, Feb 17, 2022 at 11:52 AM Majid Jalili via gem5-users <
gem5-users@gem5.org> wrote:

> This is the commit breaking the simulation:
>
>
> https://github.com/gem5/gem5/commit/d0b7de0f870d22f7d271ad0c698567b24d38fe80
>
> I am still trying to figure out what needs to be fixed. Any help would be
> appreciated!
>
> On Tue, Feb 15, 2022 at 1:59 PM Majid Jalili <majid...@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to take simpoint for some SPEC 17 applications, using the
>> command below in fs mode:
>>
>> sudo build/X86/gem5.opt -d lbm_checkpoint ./configs/example/fs.py
>> --caches --l2cache -n 1 --disk-image
>> /home/cc/disks/disks/linux-x86.spec.img --kernel
>> /home/cc/disks/binaries/vmlinux-4.19.83
>>  
>> --take-simpoint-checkpoints=./simpoints/lbm.simpoints,./simpoints/lbm.weights,100000000,20000000
>>  --cpu-type=X86KvmCPU --mem-size=16GB --script ./script/lbm.rcS
>>
>> Kernel: 4.19.83
>> gem5 version [DEVELOP-FOR-v22.0]
>> Branch: develop
>>
>> The Linux boots up successfully and launches the application. However, as
>> soon as it starts writing the checkpoint I see the followings:
>>
>> Writing checkpoint
>> gem5.opt: build/X86/cpu/regfile.hh:75: const Reg&
>> gem5::RegFile::reg(size_t) const [with Reg = gem5::VecRegContainer<8>;
>> size_t = long unsigned int]: Assertion `sizeof(Reg) == _regBytes && idx <
>> _size' failed.
>>
>> Here you can find the values inside the assert statement causing the
>> simulation to break:
>> sizeof(Reg):16
>>  _regBytes: 8
>>  idx: 0
>>  _size:1
>>
>> Any help would be appreciated!
>> Majid
>>
>> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to