Hi Kapil,

Thank you a lot for your reply. I will comment below your answer.



>> 1) application initiate checkpoint
>>
>> Upon executing the file ./test/plugin/applic-initiated-ckpt/applic I get
>> the following message:
>>
>> ----
>> *** dmtcp_is_enabled: executable seems to not be running under
>> dmtcp_launch.
>>
>>  *** dmtcp_checkpoint: DMTCP is not running.  Skipping checkpoint.
>>
>> *** Process done executing.  Successfully exiting.
>> -----
>>
>> If I understood correctly this file should execute a checkpoint after a
>> time and it neither need a coordinator nor to be executed with
>> dmtcp_launch. It is right? I have set my DMTCP_CHECKPOINT_INTERVAL=5. I
>> also compile it through the makefile, that is, it is using the -fPIC.
>>
>
> In all cases (with or without coordinator, with or without
> application-initiated ckpt), you have to launch the application using
> dmtcp_launch.
>


ok. But when I do that I have the follow message:

---------
$dmtcp_launch -i 2 ./applic
dmtcp_coordinator starting...
    Host: edson (127.0.1.1)
    Port: 7779
    Checkpoint Interval: 2
    Exit on last client: 1
Backgrounding...
--------------

The file is checkpointed, but shouldn't I see the printf's of the file
applic.c, as for sample :*** dmtcp_checkpoint: This program has now invoked
a checkpoint. It will resume its execution next."?

About my others questions (2 and 3), I will try do the same with a previous
DMTCP version.

Thank you!

Edson
------------------------------------------------------------------------------
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to