I booted the image, copied the checkpoint_after.c and ptlcalls.h files to
the image, and compiled it. After running the script (modified
create_checkpoint.py) for two or three times, it worked finally (I haven't
recompiled it)!!!

Now, I created checkpoints (except for gromacs benchmark). But I am not
sure it has been created correctly. Is there any way to check it?

Thanks,

Mostafa


On Thu, Mar 21, 2013 at 5:58 AM, Alireza Haghdoost <[email protected]>wrote:

> How did you compile it ?
>
> On Sat, Mar 16, 2013 at 3:31 PM, Mostafa Farahani <
> [email protected]> wrote:
>
>> Thanks for the help.
>>
>> I found this source code, https://gist.github.com/avadhpatel/2218676,
>> and it seems that it is exactly what I need. I compiled it and ran it for
>> one checkpoint successfully.
>> To make all SPEC2006 checkpoints, I used the create_checkpoint.py script
>> and replaced "create_checkpoint" with "checkpoint_after X" where X is the
>> number of fastforward instructions. It works for the first checkpoint but
>> when it went to the next checkpoint I got this error.
>>
>> *** glibc detected ***
>> /project/ouzo0/mostafa/marss/qemu/qemu-system-x86_64: malloc(): memory
>> corruption: 0x0000000003c143e0 ***
>> *** glibc detected ***
>> /project/ouzo0/mostafa/marss/qemu/qemu-system-x86_64: malloc(): memory
>> corruption: 0x0000000003c143e0 ***
>>
>> I can see that the first checkpoint is created (qemu/qemu-img info). I
>> was wondering if I can use "create_checkpoint" in this way.
>>
>> I really appreciate any help.
>>
>> Regards,
>>
>> Mostafa
>>
>>
>> On Fri, Mar 15, 2013 at 7:02 AM, <[email protected]> wrote:
>>
>>> Mostafa,
>>>
>>> I don't believe we have the source to the binaries in the repository. You
>>> could just copy it from the other image that you have, or just write the
>>> PTLcall functions in a C file and compile it quickly (probably the
>>> easiest
>>> option). See: http://marss86.org/~marss86/index.php/Checkpoints_in_MARSS
>>>
>>> In this case, you just need to make calls to do a fast-fwd-insns and then
>>> ptlsim_checkpoint().
>>>
>>> Tyler
>>>
>>> > Hi all,
>>> >
>>> > I am trying to create checkpoints after a certain amount of
>>> instructions.
>>> > But, I cannot find the "checkpoint_after" binary file in the
>>> ubuntu-natty
>>> > image. Would you please let me know how I can get this file?
>>> >
>>> > Thanks,
>>> > Mostafa
>>> > _______________________________________________
>>> > http://www.marss86.org
>>> > Marss86-Devel mailing list
>>> > [email protected]
>>> > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>> >
>>>
>>>
>>
>> _______________________________________________
>> http://www.marss86.org
>> Marss86-Devel mailing list
>> [email protected]
>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>
>>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to