Hi Pranav,

You should be using dmtcp with python as following:

$ dmtcp_launch python <args>
>> import dmtcp
>> ...

This way python is launched under ckpt-control and you will be able to
checkpoint-restart python sessions.

Best,
Kapil

On Thu, Sep 18, 2014 at 11:59 PM, Pranav Raj <[email protected]>
wrote:

>
> Hi,
>
> I am running a simple program and taking the checkpoint using dmtcp's
> python module. Here is a snapshot of my problem:
>
> >> import dmtcp
> >> i = 0
> >> dmtcp.checkpoint()
> >> i = 1
> >> dmtcp.restore()
>
>
> *No checkpoint session found*
> Somehow it is unable to take the checkpoint. So, when I try
>
>
> >> python dmtcp.py
>
> I get the following output: "DMTCP Status: Disabled". I am unable to
> understand why this is happening.
>
> --
> Pranav P Raj
> IIIT Delhi
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Video for Nerds.  Stuff that Matters.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Dmtcp-forum mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
>
>
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to