[gem5-users] Re: Writing checkpoint fails

2022-03-18 Thread Majid Jalili via gem5-users
Sorry for the late response!
Actually, I did not try, I am now using version 21.1.0.0, and applied the
X86 multicore patch separately. I might be able to give it a try after the
MICRO deadline.
Majid


On Mon, Feb 28, 2022 at 4:42 PM Bobby Bruce  wrote:

> Majid, Does this fix work for you?
>
> --
> Dr. Bobby R. Bruce
> Room 3050,
> Kemper Hall, UC Davis
> Davis,
> CA, 95616
>
> web: https://www.bobbybruce.net
>
>
> On Fri, Feb 18, 2022 at 11:32 AM Bobby Bruce  wrote:
>
>> 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  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,1,2000
  --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

[gem5-users] Re: Writing checkpoint fails

2022-02-28 Thread Bobby Bruce via gem5-users
Majid, Does this fix work for you?

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

web: https://www.bobbybruce.net


On Fri, Feb 18, 2022 at 11:32 AM Bobby Bruce  wrote:

> 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  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,1,2000
>>>  --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

[gem5-users] Re: Writing checkpoint fails

2022-02-18 Thread Bobby Bruce via gem5-users
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  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,1,2000
>>  --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

[gem5-users] Re: Writing checkpoint fails

2022-02-17 Thread Majid Jalili via gem5-users
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  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,1,2000
>  --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